Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -84,36 +84,36 @@ |
85 | 85 | */ |
86 | 86 | static public $mList = array( |
87 | 87 | # Maintenance Reports |
88 | | - 'BrokenRedirects' => array( 'BrokenRedirectsPage' ), |
89 | | - 'Deadendpages' => array( 'DeadendpagesPage' ), |
90 | | - 'DoubleRedirects' => array( 'DoubleRedirectsPage' ), |
91 | | - 'Longpages' => array( 'LongpagesPage' ), |
92 | | - 'Ancientpages' => array( 'AncientpagesPage' ), |
93 | | - 'Lonelypages' => array( 'LonelypagesPage' ), |
94 | | - 'Fewestrevisions' => array( 'FewestrevisionsPage' ), |
95 | | - 'Withoutinterwiki' => array( 'WithoutinterwikiPage' ), |
| 88 | + 'BrokenRedirects' => 'BrokenRedirectsPage', |
| 89 | + 'Deadendpages' => 'DeadendpagesPage', |
| 90 | + 'DoubleRedirects' => 'DoubleRedirectsPage', |
| 91 | + 'Longpages' => 'LongpagesPage', |
| 92 | + 'Ancientpages' => 'AncientpagesPage', |
| 93 | + 'Lonelypages' => 'LonelypagesPage', |
| 94 | + 'Fewestrevisions' => 'FewestrevisionsPage', |
| 95 | + 'Withoutinterwiki' => 'WithoutinterwikiPage', |
96 | 96 | 'Protectedpages' => 'SpecialProtectedpages', |
97 | 97 | 'Protectedtitles' => 'SpecialProtectedtitles', |
98 | | - 'Shortpages' => array( 'ShortpagesPage' ), |
99 | | - 'Uncategorizedcategories' => array( 'UncategorizedcategoriesPage' ), |
100 | | - 'Uncategorizedimages' => array( 'UncategorizedimagesPage' ), |
101 | | - 'Uncategorizedpages' => array( 'UncategorizedpagesPage' ), |
102 | | - 'Uncategorizedtemplates' => array( 'UncategorizedtemplatesPage' ), |
103 | | - 'Unusedcategories' => array( 'UnusedcategoriesPage' ), |
104 | | - 'Unusedimages' => array( 'UnusedimagesPage' ), |
105 | | - 'Unusedtemplates' => array( 'UnusedtemplatesPage' ), |
106 | | - 'Unwatchedpages' => array( 'UnwatchedpagesPage' ), |
107 | | - 'Wantedcategories' => array( 'WantedcategoriesPage' ), |
108 | | - 'Wantedfiles' => array( 'WantedfilesPage' ), |
109 | | - 'Wantedpages' => array( 'WantedpagesPage' ), |
110 | | - 'Wantedtemplates' => array( 'WantedtemplatesPage' ), |
| 98 | + 'Shortpages' => 'ShortpagesPage', |
| 99 | + 'Uncategorizedcategories' => 'UncategorizedcategoriesPage', |
| 100 | + 'Uncategorizedimages' => 'UncategorizedimagesPage', |
| 101 | + 'Uncategorizedpages' => 'UncategorizedpagesPage', |
| 102 | + 'Uncategorizedtemplates' => 'UncategorizedtemplatesPage', |
| 103 | + 'Unusedcategories' => 'UnusedcategoriesPage', |
| 104 | + 'Unusedimages' => 'UnusedimagesPage', |
| 105 | + 'Unusedtemplates' => 'UnusedtemplatesPage', |
| 106 | + 'Unwatchedpages' => 'UnwatchedpagesPage', |
| 107 | + 'Wantedcategories' => 'WantedcategoriesPage', |
| 108 | + 'Wantedfiles' => 'WantedfilesPage', |
| 109 | + 'Wantedpages' => 'WantedpagesPage', |
| 110 | + 'Wantedtemplates' => 'WantedtemplatesPage', |
111 | 111 | |
112 | 112 | # List of pages |
113 | 113 | 'Allpages' => 'SpecialAllpages', |
114 | 114 | 'Prefixindex' => 'SpecialPrefixindex', |
115 | 115 | 'Categories' => 'SpecialCategories', |
116 | | - 'Disambiguations' => array( 'DisambiguationsPage' ), |
117 | | - 'Listredirects' => array( 'ListredirectsPage' ), |
| 116 | + 'Disambiguations' => 'DisambiguationsPage', |
| 117 | + 'Listredirects' => 'ListredirectsPage', |
118 | 118 | |
119 | 119 | # Login/create account |
120 | 120 | 'Userlogin' => 'LoginForm', |
— | — | @@ -160,17 +160,17 @@ |
161 | 161 | 'Unlockdb' => 'SpecialUnlockdb', |
162 | 162 | |
163 | 163 | # Redirecting special pages |
164 | | - 'LinkSearch' => array( 'LinkSearchPage' ), |
| 164 | + 'LinkSearch' => 'LinkSearchPage', |
165 | 165 | 'Randompage' => 'Randompage', |
166 | 166 | 'Randomredirect' => 'SpecialRandomredirect', |
167 | 167 | |
168 | 168 | # High use pages |
169 | | - 'Mostlinkedcategories' => array( 'MostlinkedCategoriesPage' ), |
170 | | - 'Mostimages' => array( 'MostimagesPage' ), |
171 | | - 'Mostlinked' => array( 'MostlinkedPage' ), |
172 | | - 'Mostlinkedtemplates' => array( 'MostlinkedTemplatesPage' ), |
173 | | - 'Mostcategories' => array( 'MostcategoriesPage' ), |
174 | | - 'Mostrevisions' => array( 'MostrevisionsPage' ), |
| 169 | + 'Mostlinkedcategories' => 'MostlinkedCategoriesPage', |
| 170 | + 'Mostimages' => 'MostimagesPage', |
| 171 | + 'Mostlinked' => 'MostlinkedPage', |
| 172 | + 'Mostlinkedtemplates' => 'MostlinkedTemplatesPage', |
| 173 | + 'Mostcategories' => 'MostcategoriesPage', |
| 174 | + 'Mostrevisions' => 'MostrevisionsPage', |
175 | 175 | |
176 | 176 | # Page tools |
177 | 177 | 'ComparePages' => 'SpecialComparePages', |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | self::$mListInitialised = true; |
222 | 222 | |
223 | 223 | if( !$wgDisableCounters ) { |
224 | | - self::$mList['Popularpages'] = array( 'PopularpagesPage' ); |
| 224 | + self::$mList['Popularpages'] = 'PopularpagesPage'; |
225 | 225 | } |
226 | 226 | |
227 | 227 | if( !$wgDisableInternalSearch ) { |