r63418 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63417‎ | r63418 | r63419 >
Date:21:11, 8 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/api/ApiDelete.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryBase.php (modified) (history)
  • /trunk/phase3/includes/api/ApiResult.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryBase.php
@@ -309,7 +309,7 @@
310310 /**
311311 * Same as addPageSubItems(), but one element of $data at a time
312312 * @param $pageId int Page ID
313 - * @param $data array Data array à la ApiResult
 313+ * @param $item array Data array à la ApiResult
314314 * @param $elemname string XML element name. If null, getModuleName()
315315 * is used
316316 * @return bool Whether the element fit in the result
Index: trunk/phase3/includes/api/ApiDelete.php
@@ -108,9 +108,9 @@
109109 /**
110110 * We have our own delete() function, since Article.php's implementation is split in two phases
111111 *
112 - * @param Article $article - Article object to work on
113 - * @param string $token - Delete token (same as edit token)
114 - * @param string $reason - Reason for the deletion. Autogenerated if NULL
 112+ * @param $article Article object to work on
 113+ * @param $token String: delete token (same as edit token)
 114+ * @param $reason String: reason for the deletion. Autogenerated if NULL
115115 * @return Title::getUserPermissionsErrors()-like array
116116 */
117117 public static function delete( &$article, $token, &$reason = null ) {
Index: trunk/phase3/includes/api/ApiResult.php
@@ -165,6 +165,7 @@
166166 * Adds a content element to an array.
167167 * Use this function instead of hardcoding the '*' element.
168168 * @param $arr array to add the content element to
 169+ * @param $value Mixed
169170 * @param $subElemName string when present, content element is created
170171 * as a sub item of $arr. Use this parameter to create elements in
171172 * format <elem>text</elem> without attributes

Status & tagging log