From 953618714cb41a89b1f1078325f94579fc154b8a Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 13 May 2013 19:09:19 +0200 Subject: FunnyQuestion: Fix API --- extensions/FunnyQuestion/FunnyQuestion.body.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/FunnyQuestion/FunnyQuestion.body.php') diff --git a/extensions/FunnyQuestion/FunnyQuestion.body.php b/extensions/FunnyQuestion/FunnyQuestion.body.php index ae0a25ab..449914fd 100644 --- a/extensions/FunnyQuestion/FunnyQuestion.body.php +++ b/extensions/FunnyQuestion/FunnyQuestion.body.php @@ -97,7 +97,7 @@ class FunnyQuestion { return true; } - public static function checkFunnyQuestionOnEditPage($editpage, $text, $section, $error) { + public static function checkFunnyQuestionOnEditPage($editor, $text, $section, &$error, $summary) { global $wgUser; if (!$wgUser->isLoggedIn() && !self::checkFunnyQuestion()) { @@ -116,7 +116,7 @@ class FunnyQuestion { return true; } - public static function checkFunnyQuestionOnAbortNewAccount($user, $message) { + public static function checkFunnyQuestionOnAbortNewAccount($user, &$message) { if (!self::checkFunnyQuestion()) { $message = wfMsg('wrong-answer'); return false; -- cgit v1.2.3-54-g00ecf