dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff6874
)
Document Linker::tocList()'s $lang parameter correctly
author
Catrope
<roan.kattouw@gmail.com>
Wed, 22 Aug 2012 19:49:39 +0000
(12:49 -0700)
committer
Catrope
<roan.kattouw@gmail.com>
Wed, 22 Aug 2012 19:49:39 +0000
(12:49 -0700)
Change-Id: I6982dc30a0ceeedc8e549ee3bdaa5bc139d6364c
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
ce81d1c
..
0b2deef
100644
(file)
--- 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 titl
e
+ * @param $lang
String|Language|false: Language for the toc title, defaults to user languag
e
* @return String: full html of the TOC
*/
public static function tocList( $toc, $lang = false ) {