From: Aaron Date: Wed, 22 Aug 2012 18:58:47 +0000 (-0700) Subject: Use the context language for the toc in SpecialEditWatchlist. X-Git-Tag: 1.31.0-rc.0~22608^2~1 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=c85016e27d789bc5990dddb48d02bda3d85f11a1;p=lhc%2Fweb%2Fwiklou.git Use the context language for the toc in SpecialEditWatchlist. Change-Id: I029372346e18eb75f81eab24c7398b53701ac8ed --- diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 23cd9aa679..2bea3a3b88 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -510,7 +510,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { $this->toc .= Linker::tocLine( "editwatchlist-{$data['section']}", $nsText, $this->getLanguage()->formatNum( ++$tocLength ), 1 ) . Linker::tocLineEnd(); } - $this->toc = Linker::tocList( $this->toc ); + $this->toc = Linker::tocList( $this->toc, $this->getLanguage()->getCode() ); } else { $this->toc = false; }