r12030 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12029‎ | r12030 | r12031 >
Date:08:53, 9 December 2005
Author:avar
Status:old
Tags:
Comment:
* Renamed Special:Blockip to Special:Block
* Code formatting: " " => "\t"
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 - 'Blockip' => new SpecialPage( 'Blockip', 'block' ),
 73+ 'Block' => new SpecialPage( 'Blockip', 'block' ),
7474 'Undelete' => new SpecialPage( 'Undelete' ),
7575 "Import" => new SpecialPage( "Import", 'import' ),
7676 'Lockdb' => new SpecialPage( 'Lockdb', 'siteadmin' ),
@@ -189,7 +189,8 @@
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' )
 193+ 'Randompage' => Title::makeTitle( NS_SPECIAL, 'Random' ),
 194+ 'Blockip' => Title::makeTitle( NS_SPECIAL, 'Block' )
194195 );
195196 wfRunHooks( 'SpecialPageGetRedirect', array( &$redirects ) );
196197
@@ -204,9 +205,9 @@
205206 function getPages() {
206207 global $wgSpecialPages;
207208 $pages = array(
208 - '' => array(),
209 - 'sysop' => array(),
210 - 'developer' => array()
 209+ '' => array(),
 210+ 'sysop' => array(),
 211+ 'developer' => array()
211212 );
212213
213214 foreach ( $wgSpecialPages as $name => $page ) {

Status & tagging log