diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-05-13 19:09:19 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-05-13 19:09:19 +0200 |
commit | 953618714cb41a89b1f1078325f94579fc154b8a (patch) | |
tree | ce5cd13f865d20a201e0424e1dbb765c433f5f69 /extensions | |
parent | cdafed9759bbff5952f09e5a3d866f24fba57104 (diff) |
FunnyQuestion: Fix API
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/FunnyQuestion/FunnyQuestion.body.php | 4 | ||||
-rw-r--r-- | extensions/FunnyQuestion/FunnyQuestion.php | 2 |
2 files changed, 3 insertions, 3 deletions
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; diff --git a/extensions/FunnyQuestion/FunnyQuestion.php b/extensions/FunnyQuestion/FunnyQuestion.php index 8db54617..578955a9 100644 --- a/extensions/FunnyQuestion/FunnyQuestion.php +++ b/extensions/FunnyQuestion/FunnyQuestion.php @@ -2,7 +2,7 @@ $wgExtensionCredits['other'][] = array( 'name' => 'FunnyQuestion', - 'version' => '2.2', + 'version' => '2.3', 'description' => 'Challenge-response authentication', 'author' => 'Pierre Schmitz', 'url' => 'https://pierre-schmitz.com/' |