Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | ); |
67 | 67 | |
68 | 68 | class ExtMobileFrontend { |
69 | | - const VERSION = '0.5.61'; |
| 69 | + const VERSION = '0.5.62'; |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @var DOMDocument |
— | — | @@ -227,7 +227,7 @@ |
228 | 228 | self::$code = $wgContLang->getCode(); |
229 | 229 | |
230 | 230 | self::$mainPageUrl = Title::newMainPage()->getLocalUrl(); |
231 | | - self::$randomPageUrl = SpecialPage::getTitleFor( 'Randompage' )->getLocalUrl(); |
| 231 | + self::$randomPageUrl = $this->getRelativeURL( SpecialPage::getTitleFor( 'Randompage' )->getLocalUrl() ); |
232 | 232 | wfProfileOut( __METHOD__ ); |
233 | 233 | } |
234 | 234 | |