r86339 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86338‎ | r86339 | r86340 >
Date:19:44, 18 April 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Follow-up r86255: getTitleFor() was not migrated.
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -697,9 +697,9 @@
698698
699699 function getRedirect( $subpage ) {
700700 if ( $this->redirSubpage === false ) {
701 - return SpecialPageFactory::getTitleFor( $this->redirName, $subpage );
 701+ return SpecialPage::getTitleFor( $this->redirName, $subpage );
702702 } else {
703 - return SpecialPageFactory::getTitleFor( $this->redirName, $this->redirSubpage );
 703+ return SpecialPage::getTitleFor( $this->redirName, $this->redirSubpage );
704704 }
705705 }
706706 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86255Refactor the factory/i18n/list/etc static methods from SpecialPage into their...happy-melon11:31, 17 April 2011

Status & tagging log