User "Krinkle" posted a comment on MediaWiki.r96863.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96863#c22485
Commit summary:

RL2: Move category title message logic to GadgetRepo::getCategoryTitle(). This 
BREAKS using wikitext in category titles (->plain() is used throughout), which 
was already broken in some places, wasn't documented that I know of. Besides, 
enwiki didn't even use it :)

Comment:

In this case it's somewhat justified in my opinion, as the line directly above 
this uses <code>wfMessage()</code>, which does <code>new Message</code>, which 
uses <code>$wgLang</code> right now by default (not RequestContext).

To avoid inconsitencies, this out-of-message construction should use the same 
default langauge as wfMessage itself.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to