Last modified: 2014-11-13 07:27:18 UTC
* With [[Special:PageLanguage]] it is possible to set the page content language per page. In the MediaWiki namespace there also exists several page content languages. * On action edit the language code gets filled into <textarea lang="...">. * Firefox supports an automatic selection of the spell checker language based on the lang attribute of the textarea element. [1] * But Firefox set the spell checker language to "Deutsch (Schweiz)" only when the lang attribute contains exactly 'de-CH'. 'de-ch' set the spell checker language to "Deutsch (Deutschland)". [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Controlling_spell_checking_in_HTML_formsControlling_spell_checking_in_HTML_forms
Change 170890 had a related patch set uploaded by Nikerabbit: Apply wfBCP47 to language attribute on edit page https://gerrit.wikimedia.org/r/170890
Change 170890 merged by jenkins-bot: Use getHtmlCode() instead of getCode() to set the lang attribute https://gerrit.wikimedia.org/r/170890