"Dantman" posted a comment on MediaWiki.r105812. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105812#c27519
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: Are we going to rename things like MessagesSimple.php to MessagesEn_x_simple.php when we add in the cleanup of our lang codes? And setup something to deal with transitioning user preferences? getCode should always return the code that we actually use internally for language files, preferences, etc... otherwise something is likely going to break. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview