r48244 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48243‎ | r48244 | r48245 >
Date:21:27, 9 March 2009
Author:ialex
Status:ok
Tags:
Comment:
* Fix class name in SpecialPage::$mList
* Fix canonical name passed to the parent in SpecialRevisionDelete::__construct()
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -10,7 +10,7 @@
1111 class SpecialRevisionDelete extends UnlistedSpecialPage {
1212
1313 public function __construct() {
14 - parent::__construct( 'RevisionDelete', 'deleterevision' );
 14+ parent::__construct( 'Revisiondelete', 'deleterevision' );
1515 $this->includable( false );
1616 }
1717
Index: trunk/phase3/includes/SpecialPage.php
@@ -183,7 +183,7 @@
184184 'Mycontributions' => array( 'SpecialMycontributions' ),
185185 'Mypage' => array( 'SpecialMypage' ),
186186 'Mytalk' => array( 'SpecialMytalk' ),
187 - 'Revisiondelete' => 'SpecialRevisiondelete',
 187+ 'Revisiondelete' => 'SpecialRevisionDelete',
188188 'Specialpages' => array( 'UnlistedSpecialPage', 'Specialpages' ),
189189 'Userlogout' => array( 'UnlistedSpecialPage', 'Userlogout' ),
190190 );

Status & tagging log