Last modified: 2009-01-25 08:59:49 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 T13119, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11119 - {{grammar}} broken in noarticletext(anon) when ui lang != content lang
{{grammar}} broken in noarticletext(anon) when ui lang != content lang
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.11.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/gibberis...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links