From 5d7a6166d635f113e72880183964d2d1eee01c67 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 3 Nov 2006 06:02:34 +0000 Subject: [PATCH] Fix documentation that confused me. Bad Tim, copy-pasting in r12924! --- includes/Linker.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.20.1