Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | * |
59 | 59 | * e.g., http://en.wikipedia.org/w/mobileRedirect.php |
60 | 60 | */ |
61 | | -$wgMobileRedirectFormAction; |
| 61 | +$wgMobileRedirectFormAction = false; |
62 | 62 | |
63 | 63 | $wgExtMobileFrontend = new ExtMobileFrontend(); |
64 | 64 | |
— | — | @@ -84,7 +84,7 @@ |
85 | 85 | } |
86 | 86 | |
87 | 87 | class ExtMobileFrontend { |
88 | | - const VERSION = '0.5.67'; |
| 88 | + const VERSION = '0.5.68'; |
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @var DOMDocument |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | self::$code = $wgContLang->getCode(); |
261 | 261 | |
262 | 262 | $nonMobileServerBaseURL = str_replace( $wgMobileDomain, '.', $wgServer ); |
263 | | - self::$mobileRedirectFormAction = ( isset( $wgMobileRedirectFormAction ) ) ? $wgMobileRedirectFormAction : "{$nonMobileServerBaseURL}/w/mobileRedirect.php"; |
| 263 | + self::$mobileRedirectFormAction = ( $wgMobileRedirectFormAction !== false ) ? $wgMobileRedirectFormAction : "{$nonMobileServerBaseURL}/w/mobileRedirect.php"; |
264 | 264 | |
265 | 265 | self::$mainPageUrl = Title::newMainPage()->getLocalUrl(); |
266 | 266 | self::$randomPageUrl = $this->getRelativeURL( SpecialPage::getTitleFor( 'Randompage' )->getLocalUrl() ); |