r12055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12054‎ | r12055 | r12056 >
Date:10:39, 11 December 2005
Author:vibber
Status:old
Tags:
Comment:
Revert change which broke bajillions of block links
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -69,7 +69,7 @@
7070 'Version' => new SpecialPage( 'Version' ),
7171 'Allmessages' => new SpecialPage( 'Allmessages' ),
7272 'Log' => new SpecialPage( 'Log' ),
73 - 'Block' => new SpecialPage( 'Blockip', 'block' ),
 73+ 'Blockip' => new SpecialPage( 'Blockip', 'block' ),
7474 'Undelete' => new SpecialPage( 'Undelete' ),
7575 "Import" => new SpecialPage( "Import", 'import' ),
7676 'Lockdb' => new SpecialPage( 'Lockdb', 'siteadmin' ),
@@ -189,8 +189,7 @@
190190 'Mytalk' => Title::makeTitle( NS_USER_TALK, $wgUser->getName() ),
191191 'Mycontributions' => Title::makeTitle( NS_SPECIAL, 'Contributions/' . $wgUser->getName() ),
192192 'Listadmins' => Title::makeTitle( NS_SPECIAL, 'Listusers/sysop' ), # @bug 2832
193 - 'Randompage' => Title::makeTitle( NS_SPECIAL, 'Random' ),
194 - 'Blockip' => Title::makeTitle( NS_SPECIAL, 'Block' )
 193+ 'Randompage' => Title::makeTitle( NS_SPECIAL, 'Random' )
195194 );
196195 wfRunHooks( 'SpecialPageGetRedirect', array( &$redirects ) );
197196
@@ -205,9 +204,9 @@
206205 function getPages() {
207206 global $wgSpecialPages;
208207 $pages = array(
209 - '' => array(),
210 - 'sysop' => array(),
211 - 'developer' => array()
 208+ '' => array(),
 209+ 'sysop' => array(),
 210+ 'developer' => array()
212211 );
213212
214213 foreach ( $wgSpecialPages as $name => $page ) {

Status & tagging log