Merge "Consistently preserve anchors in the title specified in 'mainpage' message"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 29 Sep 2017 05:16:10 +0000 (05:16 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 29 Sep 2017 05:16:11 +0000 (05:16 +0000)
includes/skins/Skin.php

index 8fb0d1c..167b49d 100644 (file)
@@ -1095,7 +1095,7 @@ abstract class Skin extends ContextSource {
                $title = Title::newMainPage();
                self::checkTitle( $title, '' );
 
-               return $title->getLocalURL( $urlaction );
+               return $title->getLinkURL( $urlaction );
        }
 
        /**