r98727 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98726‎ | r98727 | r98728 >
Date:22:10, 2 October 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: Fix fatal in r98549, SpecialPageFactory doesn't exist in 1.17wmf1
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

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