http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94663
Revision: 94663 Author: preilly Date: 2011-08-16 17:17:37 +0000 (Tue, 16 Aug 2011) Log Message: ----------- mft r94662 Modified Paths: -------------- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php Modified: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php =================================================================== --- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-08-16 17:13:23 UTC (rev 94662) +++ branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-08-16 17:17:37 UTC (rev 94663) @@ -49,7 +49,7 @@ $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' ); class ExtMobileFrontend { - const VERSION = '0.5.27'; + const VERSION = '0.5.28'; /** * @var DOMDocument @@ -181,7 +181,7 @@ // The title self::$title = $out->getTitle(); - if ( Title::newMainPage()->getArticleId() === self::$title->getArticleId() ) { + if ( Title::newMainPage()->equals( self::$title ) ) { self::$isMainPage = true; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs