Fix documentation that confused me. Bad Tim, copy-pasting in r12924!
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 3 Nov 2006 06:02:34 +0000 (06:02 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 3 Nov 2006 06:02:34 +0000 (06:02 +0000)
includes/Linker.php

index f4a59d6..f492f57 100644 (file)
@@ -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;