r90719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90718‎ | r90719 | r90720 >
Date:17:13, 24 June 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/PageSchemas/PageSchemas.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/PageSchemas.php
@@ -25,7 +25,7 @@
2626 // Credits
2727 $wgExtensionCredits['parserhook'][] = array(
2828 'path' => __FILE__,
29 - 'name' => 'PageSchemas',
 29+ 'name' => 'Page Schemas',
3030 'author' => array( 'Ankit Garg' ),
3131 'version' => '0.0.1',
3232 'url' => 'http://www.mediawiki.org/wiki/Extension:PageSchemas',
@@ -46,7 +46,7 @@
4747 // Register auto load for the special page class
4848 $wgAutoloadClasses['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php';
4949 $wgAutoloadClasses['PageSchemas'] = $dir . 'PageSchemas.classes.php';
50 -$wgAutoloadClasses['PageSchema'] = $dir . 'PageSchemas.classes.php';
 50+$wgAutoloadClasses['PSSchema'] = $dir . 'PageSchemas.classes.php';
5151 $wgAutoloadClasses['ApiQueryPageSchemas'] = $dir . 'ApiQueryPageSchemas.php';
5252 $wgAutoloadClasses['GeneratePages'] = $dir . 'specials/GeneratePages.php';
5353 // registering Special page
@@ -55,8 +55,5 @@
5656 // Register parser hook
5757 $wgHooks['ParserFirstCallInit'][] = 'PageSchemasHooks::register';
5858
59 -// Register API action
60 -$wgAPIPropModules['PageSchema'] = 'ApiQueryPageSchemas';
61 -
6259 // Register page_props usage
6360 $wgPageProps['PageSchema'] = 'Content of <PageSchema> tag';

Status & tagging log