From: Catrope Date: Wed, 22 Aug 2012 19:49:39 +0000 (-0700) Subject: Document Linker::tocList()'s $lang parameter correctly X-Git-Tag: 1.31.0-rc.0~22630^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=873ac24d327fcd465eccf1a56b1f4de39640d078;p=lhc%2Fweb%2Fwiklou.git Document Linker::tocList()'s $lang parameter correctly Change-Id: I6982dc30a0ceeedc8e549ee3bdaa5bc139d6364c --- diff --git a/includes/Linker.php b/includes/Linker.php index ce81d1c02e..0b2deef78f 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -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 ) {