From 15dd2a1c40827e8fc7c8026c5d0c31b809c75593 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 11 Apr 2010 19:10:15 +0000 Subject: [PATCH] Fix param names mismatch in code/doc from r64852 and r64397 --- includes/api/ApiBase.php | 2 +- includes/api/ApiMain.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index e90fd8e8b2..5f2a185d9a 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -537,7 +537,7 @@ abstract class ApiBase { /** * Return true if we're to watch the page, false if not, null if no change. - * @param $watch String Valid values: 'watch', 'unwatch', 'preferences', 'nochange' + * @param $watchlist String Valid values: 'watch', 'unwatch', 'preferences', 'nochange' * @param $titleObj Title (optional) the page under consideration * @returns mixed */ diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 21fe1f8154..419c22065d 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -447,6 +447,7 @@ class ApiMain extends ApiBase { /** * Check the max lag if necessary + * @param $module ApiBase object: Api module being used * @param $params Array an array containing the request parameters. * @return boolean True on success, false should exit immediately */ -- 2.20.1