From: Sam Reed Date: Tue, 28 Jun 2011 01:17:19 +0000 (+0000) Subject: Add SpecialPermanentLink to Autoloader X-Git-Tag: 1.31.0-rc.0~29234 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=d6906fed47b35df351e967ad36691afd84e6a8ae;p=lhc%2Fweb%2Fwiklou.git Add SpecialPermanentLink to Autoloader --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 8216969686..ac1f6844ad 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -748,6 +748,7 @@ $wgAutoloadLocalClasses = array( 'SpecialNewFiles' => 'includes/specials/SpecialNewimages.php', 'SpecialNewpages' => 'includes/specials/SpecialNewpages.php', 'SpecialPasswordReset' => 'includes/specials/SpecialPasswordReset.php', + 'SpecialPermanentLink' => 'includes/specials/SpecialPage.php', 'SpecialPreferences' => 'includes/specials/SpecialPreferences.php', 'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php', 'SpecialProtectedpages' => 'includes/specials/SpecialProtectedpages.php', diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 809c50089d..f517a54b8d 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -858,8 +858,7 @@ abstract class FormSpecialPage extends SpecialPage { * Shortcut to construct a special page which is unlisted by default * @ingroup SpecialPage */ -class UnlistedSpecialPage extends SpecialPage -{ +class UnlistedSpecialPage extends SpecialPage { function __construct( $name, $restriction = '', $function = false, $file = 'default' ) { parent::__construct( $name, $restriction, false, $function, $file ); } @@ -873,8 +872,7 @@ class UnlistedSpecialPage extends SpecialPage * Shortcut to construct an includable special page * @ingroup SpecialPage */ -class IncludableSpecialPage extends SpecialPage -{ +class IncludableSpecialPage extends SpecialPage { function __construct( $name, $restriction = '', $listed = true, $function = false, $file = 'default' ) {