Last modified: 2010-11-24 11:24:22 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 T27678, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25678 - Mobile gateway uses hardcoded 'File' namespace for simplified image view; should use i18n info or proper namespace check
Mobile gateway uses hardcoded 'File' namespace for simplified image view; sho...
Status: RESOLVED FIXED
Product: Wikimedia Mobile
Classification: Unclassified
Retired (Ruby) Gateway (Other open bugs)
.5
All All
: Normal normal (vote)
: ---
Assigned To: Hampton Catlin
http://github.com/hcatlin/wikimedia-m...
: i18n
Depends on: 25558
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-27 21:48 UTC by Strainu
Modified: 2010-11-24 11:24 UTC (History)
2 users (show)

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


Attachments

Description Strainu 2010-10-27 21:48:37 UTC
You should add support for localized strings/namespaces in the server (magic words, namespaces etc.). 

Specifically, you should also support localized "file" namespace names for each language version when showing image files. Right now, the simplified image page is shown only if "File:" prefix is used. See http://ro.m.wikipedia.org/wiki/Fi%C8%99ier:Interborough_Rattled_Transit_Restored.png vs http://ro.m.wikipedia.org/wiki/File:Interborough_Rattled_Transit_Restored.png The localized strings are available at http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/ in php format.

A linked problem are the namespace aliases still in use on en.wp (i.e. Filve/Image/Media)

I'm sure there are other situations like this in the code, but a general fix could (or could not) wait until Bug 25558 is implemented.
Comment 1 Hampton Catlin 2010-11-24 11:24:22 UTC
I have added a key called 'file_namespace' to the translation wiki. As soon as these get translated, it should start working immediately.

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


Navigation
Links