r89882 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89881‎ | r89882 | r89883 >
Date:14:33, 11 June 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
registering new special page GeneratePage.php
Modified paths:
  • /trunk/extensions/PageSchemas/PageSchemas.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/PageSchemas.php
@@ -42,7 +42,10 @@
4343 $wgAutoloadClasses['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php';
4444 $wgAutoloadClasses['PageSchemas'] = $dir . 'PageSchemas.classes.php';
4545 $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';
4750 // Register parser hook
4851 $wgHooks['ParserFirstCallInit'][] = 'PageSchemasHooks::register';
4952

Status & tagging log