r94663 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94662‎ | r94663 | r94664 >
Date:17:17, 16 August 2011
Author:preilly
Status:ok
Tags:
Comment:
mft r94662
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/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

Status & tagging log