dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7d3fe
)
Use the context language for the toc in SpecialEditWatchlist.
author
Aaron
<aschulz@wikimedia.org>
Wed, 22 Aug 2012 18:58:47 +0000
(11:58 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Wed, 22 Aug 2012 19:15:54 +0000
(12:15 -0700)
Change-Id: I029372346e18eb75f81eab24c7398b53701ac8ed
includes/specials/SpecialEditWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialEditWatchlist.php
b/includes/specials/SpecialEditWatchlist.php
index
23cd9aa
..
2bea3a3
100644
(file)
--- 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;
}