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

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

Follow up to r96815;

Comment:

SpecialPages are connected to the wiki context as of MediaWiki 1.18. Use 
SpecialPage->getLang() instead of the globals. <code>$this->getLang()</code> in 
this case. This ensures that the right context is used.

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

Reply via email to