- /**#@+
- * @access private
- */
- /**
- * The canonical name of this special page
- * Also used for the default <h1> heading, @see getDescription()
- */
- var $mName;
- /**
- * The local name of this special page
- */
- var $mLocalName;
- /**
- * Minimum user level required to access this page, or "" for anyone.
- * Also used to categorise the pages in Special:Specialpages
- */
- var $mRestriction;
- /**
- * Listed in Special:Specialpages?
- */
- var $mListed;
- /**
- * Function name called by the default execute()
- */
- var $mFunction;
- /**
- * File which needs to be included before the function above can be called
- */
- var $mFile;
- /**
- * Whether or not this special page is being included from an article
- */
- var $mIncluding;
- /**
- * Whether the special page can be included in an article
- */
- var $mIncludable;
- /**
- * Query parameters that can be passed through redirects
- */
- var $mAllowedRedirectParams = array();
- /**
- * Query parameteres added by redirects
- */
- var $mAddedRedirectParams = array();
- /**
- * List of special pages, followed by parameters.
- * If the only parameter is a string, that is the page name.
- * Otherwise, it is an array. The format is one of:
- ** array( 'SpecialPage', name, right )
- ** array( 'IncludableSpecialPage', name, right, listed? )
- ** array( 'UnlistedSpecialPage', name, right )
- ** array( 'SpecialRedirectToSpecial', name, page to redirect to, special page param, ... )
- */
- static public $mList = array(
- # Maintenance Reports
- 'BrokenRedirects' => array( 'BrokenRedirectsPage' ),
- 'Deadendpages' => array( 'DeadendpagesPage' ),
- 'DoubleRedirects' => array( 'DoubleRedirectsPage' ),
- 'Longpages' => array( 'LongpagesPage' ),
- 'Ancientpages' => array( 'AncientpagesPage' ),
- 'Lonelypages' => array( 'LonelypagesPage' ),
- 'Fewestrevisions' => array( 'FewestrevisionsPage' ),
- 'Withoutinterwiki' => array( 'WithoutinterwikiPage' ),
- 'Protectedpages' => 'SpecialProtectedpages',
- 'Protectedtitles' => 'SpecialProtectedtitles',
- 'Shortpages' => array( 'ShortpagesPage' ),
- 'Uncategorizedcategories' => array( 'UncategorizedcategoriesPage' ),
- 'Uncategorizedimages' => array( 'UncategorizedimagesPage' ),
- 'Uncategorizedpages' => array( 'UncategorizedpagesPage' ),
- 'Uncategorizedtemplates' => array( 'UncategorizedtemplatesPage' ),
- 'Unusedcategories' => array( 'UnusedcategoriesPage' ),
- 'Unusedimages' => array( 'UnusedimagesPage' ),
- 'Unusedtemplates' => array( 'UnusedtemplatesPage' ),
- 'Unwatchedpages' => array( 'UnwatchedpagesPage' ),
- 'Wantedcategories' => array( 'WantedcategoriesPage' ),
- 'Wantedfiles' => array( 'WantedfilesPage' ),
- 'Wantedpages' => array( 'WantedpagesPage' ),
- 'Wantedtemplates' => array( 'WantedtemplatesPage' ),
-
- # List of pages
- 'Allpages' => 'SpecialAllpages',
- 'Prefixindex' => 'SpecialPrefixindex',
- 'Categories' => 'SpecialCategories',
- 'Disambiguations' => array( 'DisambiguationsPage' ),
- 'Listredirects' => array( 'ListredirectsPage' ),
-
- # Login/create account
- 'Userlogin' => 'LoginForm',
- 'CreateAccount' => array( 'SpecialRedirectToSpecial', 'CreateAccount', 'Userlogin', 'signup', array( 'uselang' ) ),
-
- # Users and rights
- 'Blockip' => 'IPBlockForm',
- 'Ipblocklist' => 'IPUnblockForm',
- 'Unblock' => array( 'SpecialRedirectToSpecial', 'Unblock', 'Ipblocklist', false, array( 'uselang', 'ip', 'id' ), array( 'action' => 'unblock' ) ),
- 'Resetpass' => 'SpecialResetpass',
- 'DeletedContributions' => 'DeletedContributionsPage',
- 'Preferences' => 'SpecialPreferences',
- 'Contributions' => 'SpecialContributions',
- 'Listgrouprights' => 'SpecialListGroupRights',
- 'Listusers' => array( 'SpecialPage', 'Listusers' ),
- 'Listadmins' => array( 'SpecialRedirectToSpecial', 'Listadmins', 'Listusers', 'sysop' ),
- 'Listbots' => array( 'SpecialRedirectToSpecial', 'Listbots', 'Listusers', 'bot' ),
- 'Activeusers' => 'SpecialActiveUsers',
- 'Userrights' => 'UserrightsPage',
- 'DisableAccount' => 'SpecialDisableAccount',
-
- # Recent changes and logs
- 'Newimages' => array( 'IncludableSpecialPage', 'Newimages' ),
- 'Log' => 'SpecialLog',
- 'Watchlist' => array( 'SpecialPage', 'Watchlist' ),
- 'Newpages' => 'SpecialNewpages',
- 'Recentchanges' => 'SpecialRecentchanges',
- 'Recentchangeslinked' => 'SpecialRecentchangeslinked',
- 'Tags' => 'SpecialTags',
-
- # Media reports and uploads
- 'Listfiles' => array( 'SpecialPage', 'Listfiles' ),
- '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' => array( 'LinkSearchPage' ),
- 'Randompage' => 'Randompage',
- 'Randomredirect' => 'SpecialRandomredirect',
-
- # High use pages
- 'Mostlinkedcategories' => array( 'MostlinkedCategoriesPage' ),
- 'Mostimages' => array( 'MostimagesPage' ),
- 'Mostlinked' => array( 'MostlinkedPage' ),
- 'Mostlinkedtemplates' => array( 'MostlinkedTemplatesPage' ),
- 'Mostcategories' => array( 'MostcategoriesPage' ),
- 'Mostrevisions' => array( 'MostrevisionsPage' ),
-
- # Page tools
- 'ComparePages' => 'SpecialComparePages',
- 'Export' => 'SpecialExport',
- 'Import' => 'SpecialImport',
- 'Undelete' => 'UndeleteForm',
- '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',
- 'Revisiondelete' => 'SpecialRevisionDelete',
- 'RevisionMove' => 'SpecialRevisionMove',
- 'Specialpages' => 'SpecialSpecialpages',
- 'Userlogout' => 'SpecialUserlogout',
- );
-
- static public $mAliases;
- static public $mListInitialised = false;
-
- /**#@-*/