r43504 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43503‎ | r43504 | r43505 >
Date:21:56, 14 November 2008
Author:brion
Status:ok
Tags:
Comment:
* bug 16242 -- PHP back-compat issue with hook function setup
Modified paths:
  • /trunk/extensions/InputBox/InputBox.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InputBox/InputBox.hooks.php
@@ -16,7 +16,7 @@
1717 global $wgParser;
1818
1919 // Register the hook with the parser
20 - $wgParser->setHook( 'inputbox', 'InputBoxHooks::render' );
 20+ $wgParser->setHook( 'inputbox', array( 'InputBoxHooks', 'render' ) );
2121
2222 // Continue
2323 return true;

Status & tagging log