aboutsummaryrefslogtreecommitdiffstats
path: root/includes/DummyLinker.php
diff options
context:
space:
mode:
authorFomafix <fomafix@googlemail.com>2018-07-16 10:44:54 +0200
committerFomafix <fomafix@googlemail.com>2018-12-21 17:41:30 +0100
commitdffbbdbe3955b7ca97e787e9b95bc2e1a4d95fbd (patch)
tree54cb9e1d5ac08f7fbae4fd8a2b01807115f02266 /includes/DummyLinker.php
parentbebaaaefb8303d3e26f99b2813459d8b94037e38 (diff)
downloadmediawikicore-dffbbdbe3955b7ca97e787e9b95bc2e1a4d95fbd.tar.gz
mediawikicore-dffbbdbe3955b7ca97e787e9b95bc2e1a4d95fbd.zip
Linker: Deprecate non-Language types for $lang of tocList() and generateTOC()
$lang still defaults to $wgLang on unset parameter. Change-Id: I15b65fec987641885374dfef9e1229ea405f7c30
Diffstat (limited to 'includes/DummyLinker.php')
-rw-r--r--includes/DummyLinker.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/DummyLinker.php b/includes/DummyLinker.php
index 2f5455ef5a11..ba1233e54696 100644
--- a/includes/DummyLinker.php
+++ b/includes/DummyLinker.php
@@ -345,11 +345,11 @@ class DummyLinker {
return Linker::tocLineEnd();
}
- public function tocList( $toc, $lang = false ) {
+ public function tocList( $toc, $lang = null ) {
return Linker::tocList( $toc, $lang );
}
- public function generateTOC( $tree, $lang = false ) {
+ public function generateTOC( $tree, $lang = null ) {
return Linker::generateTOC( $tree, $lang );
}