r112355 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112354‎ | r112355 | r112356 >
Date:20:48, 24 February 2012
Author:foxtrott
Status:deferred
Tags:
Comment:
bugfix (null not a valid param value anymore)
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_AutoeditAPI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_AutoeditAPI.php
@@ -30,7 +30,7 @@
3131
3232 global $wgParser;
3333
34 - $handler = new self( null, 'sfautoedit' );
 34+ $handler = new self( new ApiMain( null, true ), 'sfautoedit' );
3535 $handler->isApiQuery( false );
3636 $options = $handler->setOptionsString( $optionsString );
3737