Last modified: 2014-11-20 09:12:26 UTC
https://dev.translatewiki.net/w/i.php?title=Blag is set to be de-ch, yet the source code says: <h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">Blag</span></h1> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p>Typo of blah a </p> <!-- [... ] --> </div>
getViewPageLanguage vs. getPageLanguage For the lang in the header it is using getViewPageLanguage which does not use the page_lang field. The textarea on action=edit is using getPageLanguage which used the page_lang field. I have no idea about the difference
(In reply to Umherirrender from comment #1) > getViewPageLanguage vs. getPageLanguage > > For the lang in the header it is using getViewPageLanguage which does not > use the page_lang field. Looks still current, 30551608582d7368cc1ff1b995f04eae87213a1f didn't touch that. "SPQRobin is working on another patchset to eliminate the complexity of page language and page view language in core and combining them into a single array." PS17 https://gerrit.wikimedia.org/r/#/c/135312/ That's https://gerrit.wikimedia.org/r/#/c/137033/ I guess