Fix param names mismatch in code/doc from r64852 and r64397
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 11 Apr 2010 19:10:15 +0000 (19:10 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 11 Apr 2010 19:10:15 +0000 (19:10 +0000)
includes/api/ApiBase.php
includes/api/ApiMain.php

index e90fd8e..5f2a185 100644 (file)
@@ -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
         */
index 21fe1f8..419c220 100644 (file)
@@ -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
         */