Index: trunk/phase3/includes/LinkBatch.php |
— | — | @@ -142,9 +142,9 @@ |
143 | 143 | /** |
144 | 144 | * Construct a WHERE clause which will match all the given titles. |
145 | 145 | * |
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 |
149 | 149 | */ |
150 | 150 | public function constructSet( $prefix, &$db ) { |
151 | 151 | $first = true; |
Index: trunk/phase3/includes/LinkCache.php |
— | — | @@ -48,8 +48,8 @@ |
49 | 49 | /** |
50 | 50 | * Get a field of a title object from cache. |
51 | 51 | * 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') |
54 | 54 | * @return mixed |
55 | 55 | */ |
56 | 56 | public function getGoodLinkFieldObj( $title, $field ) { |
— | — | @@ -67,10 +67,10 @@ |
68 | 68 | |
69 | 69 | /** |
70 | 70 | * 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 |
75 | 75 | */ |
76 | 76 | public function addGoodLinkObj( $id, $title, $len = -1, $redir = null ) { |
77 | 77 | $dbkey = $title->getPrefixedDbKey(); |
— | — | @@ -127,7 +127,7 @@ |
128 | 128 | * Add a title to the link cache, return the page_id or zero if non-existent |
129 | 129 | * @param $nt Title to add. |
130 | 130 | * @param $len int, page size |
131 | | - * @param $redir bool, is redirect? |
| 131 | + * @param $redirect bool, is redirect? |
132 | 132 | * @return integer |
133 | 133 | */ |
134 | 134 | public function addLinkObj( &$nt, $len = -1, $redirect = null ) { |