diff --git a/MobileFrontend.body.php b/MobileFrontend.body.php index d9c2661..15385bf 100644 --- a/MobileFrontend.body.php +++ b/MobileFrontend.body.php @@ -372,6 +372,10 @@ class ExtMobileFrontend { public function beforePageDisplayHTML( &$out ) { global $wgRequest, $wgUser; wfProfileIn( __METHOD__ ); + $beta = $wgRequest->getText( 'beta', 'no' ); + if( $beta == 'yes' ) { + self::$isBetaGroupMember = true; + } // Note: The WebRequest Class calls are made in this block because // since PHP 5.1.x, all objects have their destructors called