Last modified: 2011-01-25 01:15:31 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 T19295, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17295 - Please allow sidebar links to be localisable for Wikimania 2009wiki
Please allow sidebar links to be localisable for Wikimania 2009wiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Brion Vibber
http://wikimania2009.wikimedia.org/wi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-31 23:45 UTC by Casey Brown
Modified: 2011-01-25 01:15 UTC (History)
2 users (show)

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


Attachments

Description Casey Brown 2009-01-31 23:45:40 UTC
Please allow the [[wm2009:MediaWiki:Sidebar|sidebar]] *links* to be localizable (like the names currently are) for wikimania2009wiki.
Comment 1 Casey Brown 2009-02-03 20:51:40 UTC
Maybe $wgForceUIMsgAsContentMsg? :-)
Comment 2 Casey Brown 2009-02-07 20:15:22 UTC
I don't think it's possible to make it so they're all automatically translate-able, so let's try this:

'wgForceUIMsgAsContentMsg' => array(

    'wikimania2009wiki' => array(
        'registration-url',
        'schedule-url',
        'volunteers-url',
        'press-url',
        'sponsors-url',
        'FAQ-url',
        'IRC-url',
        'contact-url',
        'Site Map-url',
        'index-url',
        'cfp-url',
        'local-url',
    ),

),
Comment 3 Brion Vibber 2009-02-24 21:14:12 UTC
Above config sounds like it should do, though I'm not 100% sure how the caps or spaces will interact. If they don't all work as is, may need to de-cap some.
Comment 4 Rob Halsell 2009-02-26 19:47:12 UTC
I have made the above changes and the wiki appears to be functioning normally.  If anyone sees any issues, please do not hesitate to reopen this ticket.

Thanks!
Comment 5 Casey Brown 2009-02-28 03:19:07 UTC
This doesn't seem to be working for me either :-/  On, <http://wikimania2009.wikimedia.org/wiki/Index/es?uselang=es> "Inscripción" should link to Registration/es, right?
Comment 6 Rob Halsell 2009-03-02 15:55:57 UTC
Well, it sets the actual names, but not what they link to, as localized.  I am not sure of the correct step to fix this.  Kicking ticket to brion for comment.
Comment 7 Casey Brown 2009-03-14 19:01:00 UTC
poke
Comment 8 Seb35 2009-06-30 18:13:28 UTC
Resolved. The secret was to write in MediaWiki:Sidebar exactly the same words as in the config: for 'registration-url' in $wgForceUIMsgAsContentMsg, MW:Sidebar must have "**registration-url|Registration" and not "**Registration-url|Registration". Since in the code there is   if( in_array( $key, $wgForceUIMsgAsContentMsg ) ) in wfMsgForContent.

Is it a bug? I mean that $wgForceUIMsgAsContentMsg doesn't respect the convention of the first upper-case letter and MW:Sidebar does.

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


Navigation
Links