Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' ); |
51 | 51 | |
52 | 52 | class ExtMobileFrontend { |
53 | | - const VERSION = '0.5.27'; |
| 53 | + const VERSION = '0.5.28'; |
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @var DOMDocument |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | // The title |
183 | 183 | self::$title = $out->getTitle(); |
184 | 184 | |
185 | | - if ( Title::newMainPage()->getArticleId() === self::$title->getArticleId() ) { |
| 185 | + if ( Title::newMainPage()->equals( self::$title ) ) { |
186 | 186 | self::$isMainPage = true; |
187 | 187 | } |
188 | 188 | |