From 91d00bc181670c1e6a4bcbd1f02a35b4007dd964 Mon Sep 17 00:00:00 2001 From: Siebrand Date: Wed, 22 Aug 2012 20:47:36 +0000 Subject: [PATCH] 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 --- includes/specials/SpecialEditWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1