Index: trunk/extensions/SemanticForms/includes/SF_AutoeditAPI.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | |
32 | 32 | global $wgParser; |
33 | 33 | |
34 | | - $handler = new self( null, 'sfautoedit' ); |
| 34 | + $handler = new self( new ApiMain( null, true ), 'sfautoedit' ); |
35 | 35 | $handler->isApiQuery( false ); |
36 | 36 | $options = $handler->setOptionsString( $optionsString ); |
37 | 37 | |