dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0e97426
)
Merge "Document Linker::tocList()'s $lang parameter correctly"
author
Demon
<chadh@wikimedia.org>
Wed, 22 Aug 2012 20:03:12 +0000
(20:03 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 22 Aug 2012 20:03:12 +0000
(20:03 +0000)
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 ) {