Last modified: 2009-01-25 08:59:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11119 - {{grammar}} broken in noarticletext(anon) when ui lang != content lang
{{grammar}} broken in noarticletext(anon) when ui lang != content lang
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-08-30 09:08 UTC by Niklas Laxström
Modified: 2009-01-25 08:59 UTC (History)
1 user (show)

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


Description Niklas Laxström 2007-08-30 09:08:13 UTC
Language dependent magic words don't work as expected in noarticletext(anon) message, because Article::getContents returns unparsed text:
$ret = wfMsg( $wgUser->isLoggedIn() ? 'noarticletext' : 'noarticletextanon' );
return "<div class='noarticletext'>$ret</div>";
This is then parsed in content language context because it's assumed to be article contents, not user interface message.
Comment 1 Niklas Laxström 2009-01-25 08:59:49 UTC
I fixed this at some point. The reason why the URL still looks broken is that wgGrammarThings is applied only per language for some reason.

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