r96528 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96527‎ | r96528 | r96529 >
Date:00:11, 8 September 2011
Author:preilly
Status:ok
Tags:
Comment:
mft r96527
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96527fix wildcard id prefixespreilly00:11, 8 September 2011

Status & tagging log