r94662 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94661‎ | r94662 | r94663 >
Date:17:13, 16 August 2011
Author:preilly
Status:ok
Tags:
Comment:
fix for r94566
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -49,7 +49,7 @@
5050 $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' );
5151
5252 class ExtMobileFrontend {
53 - const VERSION = '0.5.27';
 53+ const VERSION = '0.5.28';
5454
5555 /**
5656 * @var DOMDocument
@@ -181,7 +181,7 @@
182182 // The title
183183 self::$title = $out->getTitle();
184184
185 - if ( Title::newMainPage()->getArticleId() === self::$title->getArticleId() ) {
 185+ if ( Title::newMainPage()->equals( self::$title ) ) {
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