http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90715

Revision: 90715
Author:   ankitgarg833
Date:     2011-06-24 15:21:27 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------


Modified Paths:
--------------
    trunk/extensions/PageSchemas/PageSchemas.hooks.php

Modified: trunk/extensions/PageSchemas/PageSchemas.hooks.php
===================================================================
--- trunk/extensions/PageSchemas/PageSchemas.hooks.php  2011-06-24 15:12:49 UTC 
(rev 90714)
+++ trunk/extensions/PageSchemas/PageSchemas.hooks.php  2011-06-24 15:21:27 UTC 
(rev 90715)
@@ -13,7 +13,7 @@
        // Initialization
        public static function register( &$parser ) {
                // Register the hook with the parser
-               $parser->setHook( 'ClassSchema', array( 'PageSchemasHooks', 
'render' ) );
+               $parser->setHook( 'PageSchema', array( 'PageSchemasHooks', 
'render' ) );
                // add the CSS
                global $wgOut, $wgScriptPath;
                $wgOut->addStyle($wgScriptPath . 
'/extensions/PageSchemas/PageSchemas.css');
@@ -37,7 +37,7 @@
                // recreate the top-level <PageSchema> tag, with whatever
                // attributes it contained, because that was actually a tag-
                // function call, as opposed to a real XML tag
-               $input = Xml::tags('ClassSchema', $args, $input);
+               $input = Xml::tags('PageSchema', $args, $input);
                
                // if 'type=' was specified, and it wasn't set to one of the
                // allowed values (currently just 'auto'),  don't validate -


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to