Index: trunk/extensions/Babel/BabelStatic.class.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | |
19 | 19 | // Register the hook within the parser object. |
20 | 20 | global $wgParser; |
21 | | - $wgParser->setFunctionHook( 'babel', 'BabelStatic::Render' ); |
| 21 | + $wgParser->setFunctionHook( 'babel', array( 'BabelStatic', 'Render' ) ); |
22 | 22 | |
23 | 23 | // Return true to ensure processing is continued and an exception is not |
24 | 24 | // generated. |
— | — | @@ -75,4 +75,4 @@ |
76 | 76 | |
77 | 77 | } |
78 | 78 | |
79 | | -} |
\ No newline at end of file |
| 79 | +} |
Index: trunk/extensions/Babel/Babel.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | // Register extension credits. |
23 | 23 | $wgExtensionCredits[ 'parserhook' ][] = array( |
24 | 24 | 'name' => 'Babel', |
25 | | - 'version' => '1.2.1', |
| 25 | + 'version' => '1.2.2', |
26 | 26 | 'author' => 'Robert Leverington', |
27 | 27 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Babel', |
28 | 28 | 'description' => 'Adds a parser function to allow automated generation of a babel userbox column with the ability to include custom templates.', |