"Dantman" posted a comment on MediaWiki.r105812.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105812#c27296

Commit summary for MediaWiki.r105812:

Introduce a Language::getHtmlLang method which returns the Bcp47 formatted 
language code and update code around core to output lang tags using this method 
instead of getCode so that we properly output things like lang="en-CA" instead 
of lang="en-ca"

Dantman's comment:

Not right now, no. The fact we never wfBcp47'ed lang codes the way they are 
supposed to has just been bothering me for awhile.

This method can be updated later to use whatever method will handle the code 
conversions when it's added.

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

Reply via email to