Index: trunk/phase3/includes/Linker.php |
— | — | @@ -180,12 +180,14 @@ |
181 | 181 | * call this lots of times, pre-fill the link cache with a LinkBatch, otherwise each |
182 | 182 | * call to this will result in a DB query. |
183 | 183 | * |
184 | | - * @param $title String: the text of the title |
| 184 | + * @param $nt Title: the title object to make the link from, e.g. from |
| 185 | + * Title::newFromText. |
185 | 186 | * @param $text String: link text |
186 | 187 | * @param $query String: optional query part |
187 | 188 | * @param $trail String: optional trail. Alphabetic characters at the start of this string will |
188 | 189 | * be included in the link text. Other characters will be appended after |
189 | 190 | * the end of the link. |
| 191 | + * @param $prefix String: optional prefix. As trail, only before instead of after. |
190 | 192 | */ |
191 | 193 | function makeLinkObj( $nt, $text= '', $query = '', $trail = '', $prefix = '' ) { |
192 | 194 | global $wgUser; |