Index: trunk/extensions/DoubleWiki/DoubleWiki_body.php |
— | — | @@ -45,6 +45,7 @@ |
46 | 46 | static function OutputPageBeforeHTML( &$parserOutput , &$text ) { |
47 | 47 | $dw = new self(); |
48 | 48 | $dw->addMatchedText( $parserOutput, $text ); |
| 49 | + return true; |
49 | 50 | } |
50 | 51 | |
51 | 52 | /* |
Index: trunk/extensions/DoubleWiki/DoubleWiki.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | |
26 | 26 | $wgExtensionMessagesFiles['DoubleWiki'] = dirname(__FILE__) . '/DoubleWiki.i18n.php'; |
27 | 27 | $wgAutoloadClasses['DoubleWiki'] = dirname( __FILE__ ) . "/DoubleWiki_body.php"; |
28 | | -$wgHooks['OutputPageBeforeHTML'][] = array( 'DoubleWiki', 'OutputPageBeforeHTML' ); |
| 28 | +$wgHooks['OutputPageBeforeHTML'][] = 'DoubleWiki::OutputPageBeforeHTML'; |
29 | 29 | |
30 | 30 | $wgExtensionCredits['other'][] = array( |
31 | 31 | 'path' => __FILE__, |