http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89887
Revision: 89887 Author: ankitgarg833 Date: 2011-06-11 16:55:48 +0000 (Sat, 11 Jun 2011) Log Message: ----------- support for special Page. Modified Paths: -------------- trunk/extensions/PageSchemas/PageSchemas.php Modified: trunk/extensions/PageSchemas/PageSchemas.php =================================================================== --- trunk/extensions/PageSchemas/PageSchemas.php 2011-06-11 16:55:07 UTC (rev 89886) +++ trunk/extensions/PageSchemas/PageSchemas.php 2011-06-11 16:55:48 UTC (rev 89887) @@ -25,7 +25,7 @@ // Credits $wgExtensionCredits['parserhook'][] = array( 'path' => __FILE__, - 'name' => 'Page Schemas', + 'name' => 'PageSchemas', 'author' => array( 'Ankit Garg' ), 'version' => '0.0.1', 'url' => 'http://www.mediawiki.org/wiki/Extension:PageSchemas', @@ -42,9 +42,9 @@ $wgAutoloadClasses['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php'; $wgAutoloadClasses['PageSchemas'] = $dir . 'PageSchemas.classes.php'; $wgAutoloadClasses['ApiQueryPageSchemas'] = $dir . 'ApiQueryPageSchemas.php'; -$wgAutoloadClasses['SpecialPageSchemas'] = $dir . 'specials/GeneratePages.php'; +$wgAutoloadClasses['GeneratePages'] = $dir . 'GeneratePages.php'; // registering Special page -$wgSpecialPages['PageSchemas'] = 'SpecialPageSchemas'; +$wgSpecialPages['PageSchemas'] = 'GeneratePages'; $wgSpecialPageGroups['PageSchemas'] = 'other'; // Register parser hook $wgHooks['ParserFirstCallInit'][] = 'PageSchemasHooks::register'; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs