Fixed some doxygen warnings
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 15 Mar 2010 21:51:12 +0000 (21:51 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 15 Mar 2010 21:51:12 +0000 (21:51 +0000)
includes/LinkBatch.php
includes/LinkCache.php

index d9a9666..d448c80 100644 (file)
@@ -142,9 +142,9 @@ class LinkBatch {
        /**
         * Construct a WHERE clause which will match all the given titles.
         *
-        * @param string $prefix the appropriate table's field name prefix ('page', 'pl', etc)
-        * @return string
-        * @public
+        * @param $prefix String: the appropriate table's field name prefix ('page', 'pl', etc)
+        * @param $db DatabaseBase object to use
+        * @return String
         */
        public function constructSet( $prefix, &$db ) {
                $first = true;
index 8d03576..8d9d80d 100644 (file)
@@ -48,8 +48,8 @@ class LinkCache {
        /**
         * Get a field of a title object from cache.
         * If this link is not good, it will return NULL.
-        * @param Title $title
-        * @param string $field ('length','redirect')
+        * @param $title Title
+        * @param $field String: ('length','redirect')
         * @return mixed
         */
        public function getGoodLinkFieldObj( $title, $field ) {
@@ -67,10 +67,10 @@ class LinkCache {
 
        /**
         * Add a link for the title to the link cache
-        * @param int $id
-        * @param Title $title
-        * @param int $len
-        * @param int $redir
+        * @param $id Integer
+        * @param $title Title
+        * @param $len Integer
+        * @param $redir Integer
         */
        public function addGoodLinkObj( $id, $title, $len = -1, $redir = null ) {
                $dbkey = $title->getPrefixedDbKey();
@@ -127,7 +127,7 @@ class LinkCache {
         * Add a title to the link cache, return the page_id or zero if non-existent
         * @param $nt Title to add.
         * @param $len int, page size
-        * @param $redir bool, is redirect?
+        * @param $redirect bool, is redirect?
         * @return integer
         */
        public function addLinkObj( &$nt, $len = -1, $redirect = null ) {