From 651eff1627871b4b92a44b741b0d0e35be34b9af Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 12 May 2008 23:09:30 +0000 Subject: [PATCH] Revert r34585: "Normalise also special page names (in addition to namespace)" Unclear what it's meant to accomplish, but it appears to break at least the AJAX search on special page list. Unable to get it to jump through the list properly, probably due to being impossible to work with a Title object with an arbitrary name, so it's impossible to jump partway into the list. --- includes/Title.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index c7bf1dab3f..0c4c002eee 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2180,13 +2180,6 @@ class Title { return false; } - // Normalise special page names - if ( $this->mNamespace == NS_SPECIAL ) { - list( $name, $subpage ) = SpecialPage::resolveAliasWithSubpage( $dbkey ); - $dbkey = SpecialPage::getLocalNameFor( $name, $subpage ); - } - - # Fill fields $this->mDbkeyform = $dbkey; $this->mUrlform = wfUrlencode( $dbkey ); -- 2.20.1