Index: trunk/extensions/PageSchemas/PageSchemas.php |
— | — | @@ -42,7 +42,10 @@ |
43 | 43 | $wgAutoloadClasses['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php'; |
44 | 44 | $wgAutoloadClasses['PageSchemas'] = $dir . 'PageSchemas.classes.php'; |
45 | 45 | $wgAutoloadClasses['ApiQueryPageSchemas'] = $dir . 'ApiQueryPageSchemas.php'; |
46 | | - |
| 46 | +$wgAutoloadClasses['SpecialPageSchemas'] = $dir . 'specials/GeneratePages.php'; |
| 47 | +// registering Special page |
| 48 | +$wgSpecialPages['PageSchemas'] = 'SpecialPageSchemas'; |
| 49 | +$wgSpecialPageGroups['PageSchemas'] = 'other'; |
47 | 50 | // Register parser hook |
48 | 51 | $wgHooks['ParserFirstCallInit'][] = 'PageSchemasHooks::register'; |
49 | 52 | |