r94567 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94566‎ | r94567 | r94568 >
Date:21:01, 15 August 2011
Author:preilly
Status:ok
Tags:
Comment:
mft r94566
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -181,7 +181,7 @@
182182 // The title
183183 self::$title = $out->getTitle();
184184
185 - if ( $out->getTitle()->isMainPage() ) {
 185+ if ( Title::newMainPage()->getArticleId() === self::$title->getArticleId() ) {
186186 self::$isMainPage = true;
187187 }
188188

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94566fix for fatal error caused by call to isMainPagepreilly21:01, 15 August 2011

Status & tagging log