User "Platonides" posted a comment on MediaWiki.r89948.

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

* Fix I18nTags #languagename to use ParserOptions::getUserLang()
* Fix ParserOptions::getUserLang() to return code as documented

Comment:

You weren't supposed to pass setUserLang() a Language object. Maybe it should 
thrown an exception instead of doing the right thing. Passing setUserLang() an 
object and getting a Language code is also weird...

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

Reply via email to