Fixed some doxygen warnings
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 8 Mar 2010 21:11:32 +0000 (21:11 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 8 Mar 2010 21:11:32 +0000 (21:11 +0000)
includes/api/ApiDelete.php
includes/api/ApiQueryBase.php
includes/api/ApiResult.php

index 90e9aa1..9689c97 100644 (file)
@@ -108,9 +108,9 @@ class ApiDelete extends ApiBase {
        /**
         * We have our own delete() function, since Article.php's implementation is split in two phases
         *
-        * @param Article $article - Article object to work on
-        * @param string $token - Delete token (same as edit token)
-        * @param string $reason - Reason for the deletion. Autogenerated if NULL
+        * @param $article Article object to work on
+        * @param $token String: delete token (same as edit token)
+        * @param $reason String: reason for the deletion. Autogenerated if NULL
         * @return Title::getUserPermissionsErrors()-like array
         */
        public static function delete( &$article, $token, &$reason = null ) {
index b952f61..975dbb2 100644 (file)
@@ -309,7 +309,7 @@ abstract class ApiQueryBase extends ApiBase {
        /**
         * Same as addPageSubItems(), but one element of $data at a time
         * @param $pageId int Page ID
-        * @param $data array Data array à la ApiResult
+        * @param $item array Data array à la ApiResult
         * @param $elemname string XML element name. If null, getModuleName()
         *  is used
         * @return bool Whether the element fit in the result
index 0bc3e47..80f5d86 100644 (file)
@@ -165,6 +165,7 @@ class ApiResult extends ApiBase {
         * Adds a content element to an array.
         * Use this function instead of hardcoding the '*' element.
         * @param $arr array to add the content element to
+        * @param $value Mixed
         * @param $subElemName string when present, content element is created
         *  as a sub item of $arr. Use this parameter to create elements in
         *  format <elem>text</elem> without attributes