r63783 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63782‎ | r63783 | r63784 >
Date:21:51, 15 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/LinkBatch.php (modified) (history)
  • /trunk/phase3/includes/LinkCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LinkBatch.php
@@ -142,9 +142,9 @@
143143 /**
144144 * Construct a WHERE clause which will match all the given titles.
145145 *
146 - * @param string $prefix the appropriate table's field name prefix ('page', 'pl', etc)
147 - * @return string
148 - * @public
 146+ * @param $prefix String: the appropriate table's field name prefix ('page', 'pl', etc)
 147+ * @param $db DatabaseBase object to use
 148+ * @return String
149149 */
150150 public function constructSet( $prefix, &$db ) {
151151 $first = true;
Index: trunk/phase3/includes/LinkCache.php
@@ -48,8 +48,8 @@
4949 /**
5050 * Get a field of a title object from cache.
5151 * If this link is not good, it will return NULL.
52 - * @param Title $title
53 - * @param string $field ('length','redirect')
 52+ * @param $title Title
 53+ * @param $field String: ('length','redirect')
5454 * @return mixed
5555 */
5656 public function getGoodLinkFieldObj( $title, $field ) {
@@ -67,10 +67,10 @@
6868
6969 /**
7070 * Add a link for the title to the link cache
71 - * @param int $id
72 - * @param Title $title
73 - * @param int $len
74 - * @param int $redir
 71+ * @param $id Integer
 72+ * @param $title Title
 73+ * @param $len Integer
 74+ * @param $redir Integer
7575 */
7676 public function addGoodLinkObj( $id, $title, $len = -1, $redir = null ) {
7777 $dbkey = $title->getPrefixedDbKey();
@@ -127,7 +127,7 @@
128128 * Add a title to the link cache, return the page_id or zero if non-existent
129129 * @param $nt Title to add.
130130 * @param $len int, page size
131 - * @param $redir bool, is redirect?
 131+ * @param $redirect bool, is redirect?
132132 * @return integer
133133 */
134134 public function addLinkObj( &$nt, $len = -1, $redirect = null ) {

Status & tagging log