Introduce a Language::getHtmlLang method which returns the Bcp47 formatted language...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sun, 11 Dec 2011 18:46:18 +0000 (18:46 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sun, 11 Dec 2011 18:46:18 +0000 (18:46 +0000)
commitc5337f852236767439614a7e52a83b17b943a203
treeb4fe4ce661996c9321566ca8cfc894e4b50f833a
parent9457d80c3f3c01df9ed78c1450bb378618571870
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"
includes/OutputPage.php
includes/Skin.php
includes/SkinTemplate.php
languages/Language.php