Document Linker::tocList()'s $lang parameter correctly
authorCatrope <roan.kattouw@gmail.com>
Wed, 22 Aug 2012 19:49:39 +0000 (12:49 -0700)
committerCatrope <roan.kattouw@gmail.com>
Wed, 22 Aug 2012 19:49:39 +0000 (12:49 -0700)
Change-Id: I6982dc30a0ceeedc8e549ee3bdaa5bc139d6364c

includes/Linker.php

index ce81d1c..0b2deef 100644 (file)
@@ -1590,7 +1590,7 @@ class Linker {
         * Wraps the TOC in a table and provides the hide/collapse javascript.
         *
         * @param $toc String: html of the Table Of Contents
-        * @param $lang mixed: Language code for the toc title
+        * @param $lang String|Language|false: Language for the toc title, defaults to user language
         * @return String: full html of the TOC
         */
        public static function tocList( $toc, $lang = false ) {