Merge "OutputPage: Set wgPageContentLanguage to pageViewLang instead of pageLang"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 11 Mar 2016 08:45:15 +0000 (08:45 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 11 Mar 2016 08:45:15 +0000 (08:45 +0000)
includes/OutputPage.php

index 305359f..6774072 100644 (file)
@@ -3167,7 +3167,7 @@ class OutputPage extends ContextSource {
                        $articleId = $wikiPage->getId();
                }
 
-               $lang = $title->getPageLanguage();
+               $lang = $title->getPageViewLanguage();
 
                // Pre-process information
                $separatorTransTable = $lang->separatorTransformTable();