Index: trunk/extensions/IndexFunction/IndexFunction.php |
— | — | @@ -33,6 +33,8 @@ |
34 | 34 | |
35 | 35 | # Setup the special page |
36 | 36 | $wgSpecialPages['Index'] = 'SpecialIndex'; |
| 37 | +$wgSpecialPageGroups['Index'] = 'maintenance'; |
| 38 | +$wgExtensionAliasesFiles['IndexFunction'] = $dir . 'IndexFunction.alias.php'; |
37 | 39 | $wgAutoloadClasses['SpecialIndex'] = $dir . 'SpecialIndex.php'; |
38 | 40 | |
39 | 41 | $wgExtensionMessagesFiles['IndexFunction'] = $dir . 'IndexFunction.i18n.php'; |
Index: trunk/extensions/IndexFunction/IndexFunction.alias.php |
— | — | @@ -0,0 +1,15 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$aliases = array(); |
| 11 | + |
| 12 | +/** English */ |
| 13 | +$aliases['en'] = array( |
| 14 | + 'Index' => array( 'Index' ), |
| 15 | +); |
| 16 | + |
Property changes on: trunk/extensions/IndexFunction/IndexFunction.alias.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 17 | + native |