r64942 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64941‎ | r64942 | r64943 >
Date:19:10, 11 April 2010
Author:ialex
Status:ok
Tags:
Comment:
Fix param names mismatch in code/doc from r64852 and r64397
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -447,6 +447,7 @@
448448
449449 /**
450450 * Check the max lag if necessary
 451+ * @param $module ApiBase object: Api module being used
451452 * @param $params Array an array containing the request parameters.
452453 * @return boolean True on success, false should exit immediately
453454 */
Index: trunk/phase3/includes/api/ApiBase.php
@@ -537,7 +537,7 @@
538538
539539 /**
540540 * Return true if we're to watch the page, false if not, null if no change.
541 - * @param $watch String Valid values: 'watch', 'unwatch', 'preferences', 'nochange'
 541+ * @param $watchlist String Valid values: 'watch', 'unwatch', 'preferences', 'nochange'
542542 * @param $titleObj Title (optional) the page under consideration
543543 * @returns mixed
544544 */

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64397Refactor ApiMain to make the code more readable.mah17:14, 30 March 2010
r64852* Clean up some duplicated code in r64291...mah06:11, 10 April 2010

Status & tagging log