r67186 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67185‎ | r67186 | r67187 >
Date:14:34, 1 June 2010
Author:raymond
Status:ok
Tags:
Comment:
Bug 23746: Fix "Hook efMediaFunctionsSetup failed to return a value; should return true to continue hook processing or false to abort."
Modified paths:
  • /trunk/extensions/MediaFunctions/MediaFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MediaFunctions/MediaFunctions.php
@@ -12,7 +12,7 @@
1313 $wgExtensionCredits['parserhook'][] = array(
1414 'path' => __FILE__,
1515 'name' => 'MediaFunctions',
16 - 'version' => '1.2',
 16+ 'version' => '1.2.1',
1717 'author' => 'Rob Church',
1818 'url' => 'http://www.mediawiki.org/wiki/Extension:MediaFunctions',
1919 'descriptionmsg' => 'mediafunctions-desc',
@@ -35,4 +35,5 @@
3636 $parser->setFunctionHook( 'mediadimensions', array( 'MediaFunctions', 'mediadimensions' ) );
3737 $parser->setFunctionHook( 'mediaexif', array( 'MediaFunctions', 'mediaexif' ) );
3838 $parser->setFunctionHook( 'mediapages', array( 'MediaFunctions', 'mediapages' ) );
 39+ return true;
3940 }

Status & tagging log