Index: trunk/phase3/includes/SpecialPageFactory.php |
— | — | @@ -126,8 +126,8 @@ |
127 | 127 | // Page tools |
128 | 128 | 'ComparePages' => 'SpecialComparePages', |
129 | 129 | 'Export' => 'SpecialExport', |
130 | | - 'GlobalFileUsage' => 'SpecialGlobalFileUsage', |
131 | | - 'GlobalTemplateUsage' => 'SpecialGlobalTemplateUsage', |
| 130 | + 'Globalfileusage' => 'SpecialGlobalFileUsage', |
| 131 | + 'Globaltemplateusage' => 'SpecialGlobalTemplateUsage', |
132 | 132 | 'Import' => 'SpecialImport', |
133 | 133 | 'Undelete' => 'SpecialUndelete', |
134 | 134 | 'Whatlinkshere' => 'SpecialWhatlinkshere', |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | /** |
266 | 266 | * Add a page to a certain display group for Special:SpecialPages |
267 | 267 | * |
268 | | - * @param $page Mixed: SpecialPage or string |
| 268 | + * @param $page SpecialPage|string |
269 | 269 | * @param $group String |
270 | 270 | */ |
271 | 271 | public static function setGroup( $page, $group ) { |
— | — | @@ -277,6 +277,8 @@ |
278 | 278 | * Get the group that the special page belongs in on Special:SpecialPage |
279 | 279 | * |
280 | 280 | * @param $page SpecialPage |
| 281 | + * |
| 282 | + * @return string |
281 | 283 | */ |
282 | 284 | public static function getGroup( &$page ) { |
283 | 285 | $name = $page->getName(); |