Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -147,8 +147,8 @@ |
148 | 148 | |
149 | 149 | self::$disableImages = $wgRequest->getText( 'disableImages', 0 ); |
150 | 150 | |
151 | | - self::$mainPageUrl = Title::newMainPage()->getFullUrl(); |
152 | | - self::$randomPageUrl = SpecialPage::getTitleFor( 'Randompage' )->getFullUrl(); |
| 151 | + self::$mainPageUrl = Title::newMainPage()->getLocalUrl(); |
| 152 | + self::$randomPageUrl = SpecialPage::getTitleFor( 'Randompage' )->getLocalUrl(); |
153 | 153 | |
154 | 154 | $userAgent = $_SERVER['HTTP_USER_AGENT']; |
155 | 155 | $uAmd5 = md5($userAgent); |