Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -559,7 +559,6 @@ |
560 | 560 | self::$disableImages = $wgRequest->getText( 'disableImages', 0 ); |
561 | 561 | self::$enableImages = $wgRequest->getText( 'enableImages', 0 ); |
562 | 562 | self::$displayNoticeId = $wgRequest->getText( 'noticeid', '' ); |
563 | | - self::$displayNoticeId = 2; |
564 | 563 | |
565 | 564 | if ( self::$disableImages == 1 ) { |
566 | 565 | $wgRequest->response()->setcookie( 'disableImages', 1 ); |
— | — | @@ -679,6 +678,10 @@ |
680 | 679 | $this->sendApplicationVersionVaryHeader(); |
681 | 680 | $this->checkUserStatus(); |
682 | 681 | $this->checkUserLoggedIn(); |
| 682 | + |
| 683 | + if (self::$code === 'en') { |
| 684 | + self::$displayNoticeId = 2; |
| 685 | + } |
683 | 686 | |
684 | 687 | if ( self::$title->isSpecial( 'Userlogin' ) && self::$isBetaGroupMember ) { |
685 | 688 | self::$wsLoginToken = $wgRequest->getSessionData( 'wsLoginToken' ); |