r98799 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98798‎ | r98799 | r98800 >
Date:19:47, 3 October 2011
Author:preilly
Status:deferred
Tags:
Comment:
Fix fatal in r98549, SpecialPageFactory does not exist in 1.17wmf1
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -206,7 +206,7 @@
207207 return true; // Let the redirect happen
208208 } else {
209209 if ( $title->getNamespace() == NS_SPECIAL ) {
210 - list( $name, $subpage ) = SpecialPageFactory::resolveAlias( $title->getDBkey() );
 210+ list( $name, $subpage ) = SpecialPage::resolveAlias( $title->getDBkey() );
211211 if ( $name ) {
212212 $title = SpecialPage::getTitleFor( $name, $subpage );
213213 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98549mft r98462 r98547preilly18:55, 30 September 2011

Status & tagging log