r96527 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96526‎ | r96527 | r96528 >
Date:00:11, 8 September 2011
Author:preilly
Status:ok
Tags:
Comment:
fix wildcard id prefixes
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -745,7 +745,7 @@
746746 $newsItems = $this->mainPage->getElementById( 'mp-itn' );
747747
748748 $xpath = new DOMXpath( $this->mainPage );
749 - $elements = $xpath->query( '//*[starts-with(@id, "mp-")]' );
 749+ $elements = $xpath->query( '//*[starts-with(@id, "mf-")]' );
750750
751751 $commonAttributes = array('mp-tfa', 'mp-itn');
752752

Follow-up revisions

RevisionCommit summaryAuthorDate
r96528mft r96527preilly00:11, 8 September 2011

Status & tagging log