Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | } |
89 | 89 | |
90 | 90 | class ExtMobileFrontend { |
91 | | - const VERSION = '0.5.78'; |
| 91 | + const VERSION = '0.5.79'; |
92 | 92 | |
93 | 93 | /** |
94 | 94 | * @var DOMDocument |
— | — | @@ -129,8 +129,8 @@ |
130 | 130 | public static $hideSearchBox = false; |
131 | 131 | public static $hideLogo = false; |
132 | 132 | public static $languageUrls; |
133 | | - public static $wsLoginToken; |
134 | | - public static $wsLoginFormAction; |
| 133 | + public static $wsLoginToken = ''; |
| 134 | + public static $wsLoginFormAction = ''; |
135 | 135 | |
136 | 136 | public static $messageKeys = array( |
137 | 137 | 'mobile-frontend-show-button', |
— | — | @@ -416,9 +416,6 @@ |
417 | 417 | $returnToVal = $wgRequest->getVal( 'returnto' ); |
418 | 418 | $returnto = ( !empty ( $returnToVal ) ) ? '&returnto=' . wfUrlencode( $returnToVal ) : ''; |
419 | 419 | self::$wsLoginFormAction = self::$title->getLocalURL( 'action=submitlogin&type=login' . $returnto ); |
420 | | - } else { |
421 | | - self::$wsLoginToken = ''; |
422 | | - self::$wsLoginFormAction = ''; |
423 | 420 | } |
424 | 421 | |
425 | 422 | self::$htmlTitle = $out->getHTMLTitle(); |