Last modified: 2010-09-13 18:01:46 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 T16802, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14802 - default uselang problems
default uselang problems
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.13.x
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-12 23:06 UTC by Tomasz G. Sienicki
Modified: 2010-09-13 18:01 UTC (History)
2 users (show)

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


Attachments

Description Tomasz G. Sienicki 2008-07-12 23:06:27 UTC
If a user sets Polish as the default language then user-defined messages in the MediaWiki: namespace fail to return the /pl value, even though it works for other languages than Polish. 

Please have a look at the page http://pl.wiktionary.org/wiki/Portal:Jidysz
(source: "{{Portal:Jidysz/<Jidysz/uselang>/mainpage}}")

As a result of this bug
  http://pl.wiktionary.org/wiki/Portal:Jidysz?uselang=pl  does not work
  http://pl.wiktionary.org/wiki/Portal:Jidysz?uselang=en  works
  http://pl.wiktionary.org/wiki/Portal:Jidysz?uselang=yi  works

The bug was introduced in 1.13alpha (r35980, June 7th 2008).

See also the demonstration of the bug at http://pl.wiktionary.org/wiki/Wikipedysta:Joystick/brudnopis/problemy
Comment 1 Dariusz Jażdżyk 2008-07-12 23:21:25 UTC
update:
Please have a look at the page http://pl.wiktionary.org/wiki/Portal:Jidysz
(source: "{{Portal:Jidysz/{{int:Jidysz/uselang}}/mainpage}}"
Comment 2 Brion Vibber 2008-07-30 23:37:49 UTC
This'll just use MediaWiki:X rather than MediaWiki:X/pl since it's the site language.
Comment 3 Dariusz Jażdżyk 2008-08-04 19:19:04 UTC
Brion: it does not work
Comment 4 Brion Vibber 2008-08-06 16:48:11 UTC
Ok, fundamental issue:

All internal rendering of the page should use the same language consistently based on current design; that is, {{int:foo}} in page body text will always use the content language. At least, that's how it's supposed to work. ;) Per bug 14404, currently {{int:}} (which is designed for UI messages only) apparently also still "works" in page body text... at least sometimes...

This can corrupt page link tables etc which is Not Good, and it might get removed totally at some point.

In the meantime, though, it's perhaps nice if it works consistently. ;)

In my local testing, it's all working fine on English, and no change if I set to Polish. Hmm.
Comment 5 Niklas Laxström 2010-09-13 18:01:46 UTC
Cannot reproduce anymore with the given example page.

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


Navigation
Links