r90929 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90928‎ | r90929 | r90930 >
Date:01:17, 28 June 2011
Author:reedy
Status:resolved
Tags:
Comment:
Add SpecialPermanentLink to Autoloader
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -748,6 +748,7 @@
749749 'SpecialNewFiles' => 'includes/specials/SpecialNewimages.php',
750750 'SpecialNewpages' => 'includes/specials/SpecialNewpages.php',
751751 'SpecialPasswordReset' => 'includes/specials/SpecialPasswordReset.php',
 752+ 'SpecialPermanentLink' => 'includes/specials/SpecialPage.php',
752753 'SpecialPreferences' => 'includes/specials/SpecialPreferences.php',
753754 'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php',
754755 'SpecialProtectedpages' => 'includes/specials/SpecialProtectedpages.php',
Index: trunk/phase3/includes/SpecialPage.php
@@ -858,8 +858,7 @@
859859 * Shortcut to construct a special page which is unlisted by default
860860 * @ingroup SpecialPage
861861 */
862 -class UnlistedSpecialPage extends SpecialPage
863 -{
 862+class UnlistedSpecialPage extends SpecialPage {
864863 function __construct( $name, $restriction = '', $function = false, $file = 'default' ) {
865864 parent::__construct( $name, $restriction, false, $function, $file );
866865 }
@@ -873,8 +872,7 @@
874873 * Shortcut to construct an includable special page
875874 * @ingroup SpecialPage
876875 */
877 -class IncludableSpecialPage extends SpecialPage
878 -{
 876+class IncludableSpecialPage extends SpecialPage {
879877 function __construct(
880878 $name, $restriction = '', $listed = true, $function = false, $file = 'default'
881879 ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r95616Fix autoloader entry from r90929maxsem05:59, 28 August 2011

Status & tagging log