Index: trunk/extensions/PageSchemas/PageSchemas.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | // Credits |
27 | 27 | $wgExtensionCredits['parserhook'][] = array( |
28 | 28 | 'path' => __FILE__, |
29 | | - 'name' => 'PageSchemas', |
| 29 | + 'name' => 'Page Schemas', |
30 | 30 | 'author' => array( 'Ankit Garg' ), |
31 | 31 | 'version' => '0.0.1', |
32 | 32 | 'url' => 'http://www.mediawiki.org/wiki/Extension:PageSchemas', |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | // Register auto load for the special page class |
48 | 48 | $wgAutoloadClasses['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php'; |
49 | 49 | $wgAutoloadClasses['PageSchemas'] = $dir . 'PageSchemas.classes.php'; |
50 | | -$wgAutoloadClasses['PageSchema'] = $dir . 'PageSchemas.classes.php'; |
| 50 | +$wgAutoloadClasses['PSSchema'] = $dir . 'PageSchemas.classes.php'; |
51 | 51 | $wgAutoloadClasses['ApiQueryPageSchemas'] = $dir . 'ApiQueryPageSchemas.php'; |
52 | 52 | $wgAutoloadClasses['GeneratePages'] = $dir . 'specials/GeneratePages.php'; |
53 | 53 | // registering Special page |
— | — | @@ -55,8 +55,5 @@ |
56 | 56 | // Register parser hook |
57 | 57 | $wgHooks['ParserFirstCallInit'][] = 'PageSchemasHooks::register'; |
58 | 58 | |
59 | | -// Register API action |
60 | | -$wgAPIPropModules['PageSchema'] = 'ApiQueryPageSchemas'; |
61 | | - |
62 | 59 | // Register page_props usage |
63 | 60 | $wgPageProps['PageSchema'] = 'Content of <PageSchema> tag'; |