Last modified: 2014-02-12 23:53:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37994, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35994 - English Wikipedia logo is used by default in Beta MobileFrontend
English Wikipedia logo is used by default in Beta MobileFrontend
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-15 18:22 UTC by Amir E. Aharoni
Modified: 2014-02-12 23:53 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2012-04-15 18:22:45 UTC
In the current "Beta" version of MobileFrontend, the English Wikipedia wordmark logo is displayed be default (logo*en.png).

This is a bad idea - beyond the basic problem of being English-specific and Wikipedia-specific, it can cause other issues. For example, some people may install MobileFronted on their sites and fail to change the logo, creating a lot of confusion.
Comment 1 Jon 2012-04-16 12:51:44 UTC
I assume we are talking about this image:
http://bits.wikimedia.org/w/extensions-1.19/MobileFrontend/stylesheets/images/logo-copyright-en.png

The logo could 404 by default meaning the installer would need to set it up themselves.
Alternatively instead of 404ing the watermark could be a more neutral mediawiki logo by default with instructions in the README on how to change.

We could change the alt text to derive itself from the wiki name rather than a language file
Thoughts?
Comment 2 Tomasz Finc 2012-04-25 21:35:44 UTC
Were not using the logo in any other language. It's purely text on all others.
Comment 3 Jon 2012-05-03 15:16:08 UTC
We should treat the image the same as setDefaultLogo in MobileFrontend.php

e.g. $wgMobileFrontendWatermark should be used for the image in the footer
The watermark should also allow for language
e.g. $wgMobileFrontendLogo = '/MobileFrontend/stylesheets/images/watermark-$1.png';
on a French language site would look for watermark-fr.png
If $wgMobileFrontendLogo doesn't contain $1 it will use the same watermark for all languages

We would also need to check for the existence of the watermark image file rather than the current test of
if ( $wgLanguageCode === 'en' ) so that the user has more control over when the image can appear

https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/MobileFrontend.git;a=blob;f=skins/SkinMobile.php;h=f71000fffd634f030ae735165deaf0e0619df29e;hb=master#l144

I don't feel too comfortable with this code to do this. Any volunteers want to submit a patch?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links