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

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:

Because while lowercase is valid for BCP 47 the BCP 47 recommendation is the 
'en-CA' form not the 'en-ca' form, and I'm picky about what goes out in our 
lang="" tags.

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

Reply via email to