From: Siebrand Date: Wed, 22 Aug 2012 20:47:36 +0000 (+0000) Subject: Revert "Use the context language for the toc in SpecialEditWatchlist." X-Git-Tag: 1.31.0-rc.0~22608^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=91d00bc181670c1e6a4bcbd1f02a35b4007dd964;p=lhc%2Fweb%2Fwiklou.git Revert "Use the context language for the toc in SpecialEditWatchlist." This reverts commit c85016e27d789bc5990dddb48d02bda3d85f11a1 This change is redundant, since the root cause was fixed in Change I333021ee and I66fb2d11 --- diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 2bea3a3b88..23cd9aa679 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->getLanguage()->getCode() ); + $this->toc = Linker::tocList( $this->toc ); } else { $this->toc = false; }