r100947 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100946‎ | r100947 | r100948 >
Date:05:57, 27 October 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup to r86053 - fix special page cases

[27-Oct-2011 05:51:24] PHP Notice: Found alias defined for Listadmins when searching for special page aliases for ListAdmins. Case mismatch? [Called from SpecialPage::getLocalName in /www/sandwiki/includes/SpecialPage.php at line 464] in /www/sandwiki/includes/GlobalFunctions.php on line 3378
[27-Oct-2011 05:51:24] PHP Notice: Found alias defined for Listadmins when searching for special page aliases for ListAdmins. Case mismatch? [Called from SpecialPage::getTitleFor in /www/sandwiki/includes/SpecialPage.php at line 261] in /www/sandwiki/includes/GlobalFunctions.php on line 3378
[27-Oct-2011 05:51:24] PHP Notice: Found alias defined for Listusers when searching for special page aliases for ListUsers. Case mismatch? [Called from SpecialPage::getTitleFor in /www/sandwiki/includes/SpecialPage.php at line 261] in /www/sandwiki/includes/GlobalFunctions.php on line 3378
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -967,7 +967,7 @@
968968 */
969969 class SpecialListAdmins extends SpecialRedirectToSpecial {
970970 function __construct(){
971 - parent::__construct( 'ListAdmins', 'ListUsers', 'sysop' );
 971+ parent::__construct( 'Listadmins', 'Listusers', 'sysop' );
972972 }
973973 }
974974
@@ -976,7 +976,7 @@
977977 */
978978 class SpecialListBots extends SpecialRedirectToSpecial {
979979 function __construct(){
980 - parent::__construct( 'ListAdmins', 'ListUsers', 'bot' );
 980+ parent::__construct( 'Listadmins', 'Listusers', 'bot' );
981981 }
982982 }
983983

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86053Changes to SpecialPage: deprecate any syntax for defining pages other than $w...happy-melon15:11, 14 April 2011

Status & tagging log