From: Aryeh Gregor Date: Fri, 3 Nov 2006 06:02:34 +0000 (+0000) Subject: Fix documentation that confused me. Bad Tim, copy-pasting in r12924! X-Git-Tag: 1.31.0-rc.0~55303 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5d7a6166d635f113e72880183964d2d1eee01c67;p=lhc%2Fweb%2Fwiklou.git Fix documentation that confused me. Bad Tim, copy-pasting in r12924! --- diff --git a/includes/Linker.php b/includes/Linker.php index f4a59d6271..f492f5733a 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -180,12 +180,14 @@ class Linker { * call this lots of times, pre-fill the link cache with a LinkBatch, otherwise each * call to this will result in a DB query. * - * @param $title String: the text of the title + * @param $nt Title: the title object to make the link from, e.g. from + * Title::newFromText. * @param $text String: link text * @param $query String: optional query part * @param $trail String: optional trail. Alphabetic characters at the start of this string will * be included in the link text. Other characters will be appended after * the end of the link. + * @param $prefix String: optional prefix. As trail, only before instead of after. */ function makeLinkObj( $nt, $text= '', $query = '', $trail = '', $prefix = '' ) { global $wgUser;