Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | // The title |
183 | 183 | self::$title = $out->getTitle(); |
184 | 184 | |
185 | | - if ( $out->getTitle()->isMainPage() ) { |
| 185 | + if ( Title::newMainPage()->getArticleId() === self::$title->getArticleId() ) { |
186 | 186 | self::$isMainPage = true; |
187 | 187 | } |
188 | 188 | |