From: Happy-melon Date: Sun, 17 Apr 2011 20:34:25 +0000 (+0000) Subject: Follow-up r86255: rm duplicated config list X-Git-Tag: 1.31.0-rc.0~30749 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=4e98714f3f77a8bf1baa2c6264993aba6d26e0eb;p=lhc%2Fweb%2Fwiklou.git Follow-up r86255: rm duplicated config list --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 6f2cc5722a..097c5957ce 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -78,128 +78,6 @@ class SpecialPage { * @var RequestContext */ protected $mContext; - - /** - * List of special page names to the subclass of SpecialPage which handles them. - */ - static public $mList = array( - # Maintenance Reports - 'BrokenRedirects' => 'BrokenRedirectsPage', - 'Deadendpages' => 'DeadendpagesPage', - 'DoubleRedirects' => 'DoubleRedirectsPage', - 'Longpages' => 'LongpagesPage', - 'Ancientpages' => 'AncientpagesPage', - 'Lonelypages' => 'LonelypagesPage', - 'Fewestrevisions' => 'FewestrevisionsPage', - 'Withoutinterwiki' => 'WithoutinterwikiPage', - 'Protectedpages' => 'SpecialProtectedpages', - 'Protectedtitles' => 'SpecialProtectedtitles', - 'Shortpages' => 'ShortpagesPage', - 'Uncategorizedcategories' => 'UncategorizedcategoriesPage', - 'Uncategorizedimages' => 'UncategorizedimagesPage', - 'Uncategorizedpages' => 'UncategorizedpagesPage', - 'Uncategorizedtemplates' => 'UncategorizedtemplatesPage', - 'Unusedcategories' => 'UnusedcategoriesPage', - 'Unusedimages' => 'UnusedimagesPage', - 'Unusedtemplates' => 'UnusedtemplatesPage', - 'Unwatchedpages' => 'UnwatchedpagesPage', - 'Wantedcategories' => 'WantedcategoriesPage', - 'Wantedfiles' => 'WantedfilesPage', - 'Wantedpages' => 'WantedpagesPage', - 'Wantedtemplates' => 'WantedtemplatesPage', - - # List of pages - 'Allpages' => 'SpecialAllpages', - 'Prefixindex' => 'SpecialPrefixindex', - 'Categories' => 'SpecialCategories', - 'Disambiguations' => 'DisambiguationsPage', - 'Listredirects' => 'ListredirectsPage', - - # Login/create account - 'Userlogin' => 'LoginForm', - 'CreateAccount' => 'SpecialCreateAccount', - - # Users and rights - 'Block' => 'SpecialBlock', - 'Unblock' => 'SpecialUnblock', - 'BlockList' => 'SpecialBlockList', - 'Resetpass' => 'SpecialResetpass', - 'DeletedContributions' => 'DeletedContributionsPage', - 'Preferences' => 'SpecialPreferences', - 'Contributions' => 'SpecialContributions', - 'Listgrouprights' => 'SpecialListGroupRights', - 'Listusers' => 'SpecialListUsers' , - 'Listadmins' => 'SpecialListAdmins', - 'Listbots' => 'SpecialListBots', - 'Activeusers' => 'SpecialActiveUsers', - 'Userrights' => 'UserrightsPage', - 'EditWatchlist' => 'SpecialEditWatchlist', - - # Recent changes and logs - 'Newimages' => 'SpecialNewFiles', - 'Log' => 'SpecialLog', - 'Watchlist' => 'SpecialWatchlist', - 'Newpages' => 'SpecialNewpages', - 'Recentchanges' => 'SpecialRecentchanges', - 'Recentchangeslinked' => 'SpecialRecentchangeslinked', - 'Tags' => 'SpecialTags', - - # Media reports and uploads - 'Listfiles' => 'SpecialListFiles', - 'Filepath' => 'SpecialFilepath', - 'MIMEsearch' => 'MIMEsearchPage', - 'FileDuplicateSearch' => 'FileDuplicateSearchPage', - 'Upload' => 'SpecialUpload', - 'UploadStash' => 'SpecialUploadStash', - - # Wiki data and tools - 'Statistics' => 'SpecialStatistics', - 'Allmessages' => 'SpecialAllmessages', - 'Version' => 'SpecialVersion', - 'Lockdb' => 'SpecialLockdb', - 'Unlockdb' => 'SpecialUnlockdb', - - # Redirecting special pages - 'LinkSearch' => 'LinkSearchPage', - 'Randompage' => 'Randompage', - 'Randomredirect' => 'SpecialRandomredirect', - - # High use pages - 'Mostlinkedcategories' => 'MostlinkedCategoriesPage', - 'Mostimages' => 'MostimagesPage', - 'Mostlinked' => 'MostlinkedPage', - 'Mostlinkedtemplates' => 'MostlinkedTemplatesPage', - 'Mostcategories' => 'MostcategoriesPage', - 'Mostrevisions' => 'MostrevisionsPage', - - # Page tools - 'ComparePages' => 'SpecialComparePages', - 'Export' => 'SpecialExport', - 'Import' => 'SpecialImport', - 'Undelete' => 'SpecialUndelete', - 'Whatlinkshere' => 'SpecialWhatlinkshere', - 'MergeHistory' => 'SpecialMergeHistory', - - # Other - 'Booksources' => 'SpecialBookSources', - - # Unlisted / redirects - 'Blankpage' => 'SpecialBlankpage', - 'Blockme' => 'SpecialBlockme', - 'Emailuser' => 'SpecialEmailUser', - 'Movepage' => 'MovePageForm', - 'Mycontributions' => 'SpecialMycontributions', - 'Mypage' => 'SpecialMypage', - 'Mytalk' => 'SpecialMytalk', - 'Myuploads' => 'SpecialMyuploads', - 'PermanentLink' => 'SpecialPermanentLink', - 'Revisiondelete' => 'SpecialRevisionDelete', - 'Specialpages' => 'SpecialSpecialpages', - 'Userlogout' => 'SpecialUserlogout', - ); - - static public $mAliases; - static public $mListInitialised = false; /** * Initialise the special page list