Index: trunk/phase3/includes/Title.php |
— | — | @@ -2179,6 +2179,13 @@ |
2180 | 2180 | return false; |
2181 | 2181 | } |
2182 | 2182 | |
| 2183 | + // Normalise special page names |
| 2184 | + if ( $this->mNamespace == NS_SPECIAL ) { |
| 2185 | + list( $name, $subpage ) = SpecialPage::resolveAliasWithSubpage( $dbkey ); |
| 2186 | + $dbkey = SpecialPage::getLocalNameFor( $name, $subpage ); |
| 2187 | + } |
| 2188 | + |
| 2189 | + |
2183 | 2190 | # Fill fields |
2184 | 2191 | $this->mDbkeyform = $dbkey; |
2185 | 2192 | $this->mUrlform = wfUrlencode( $dbkey ); |