dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add maintenance/view.php for viewing page contents"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnwatchedpages.php
diff --git
a/includes/specials/SpecialUnwatchedpages.php
b/includes/specials/SpecialUnwatchedpages.php
index
ae375b2
..
96878a3
100644
(file)
--- a/
includes/specials/SpecialUnwatchedpages.php
+++ b/
includes/specials/SpecialUnwatchedpages.php
@@
-116,10
+116,12
@@
class UnwatchedpagesPage extends QueryPage {
$text = $wgContLang->convert( $nt->getPrefixedText() );
$text = $wgContLang->convert( $nt->getPrefixedText() );
- $plink = Linker::linkKnown( $nt, htmlspecialchars( $text ) );
- $wlink = Linker::linkKnown(
+ $linkRenderer = $this->getLinkRenderer();
+
+ $plink = $linkRenderer->makeKnownLink( $nt, $text );
+ $wlink = $linkRenderer->makeKnownLink(
$nt,
$nt,
- $this->msg( 'watch' )->
escaped
(),
+ $this->msg( 'watch' )->
text
(),
[ 'class' => 'mw-watch-link' ],
[ 'action' => 'watch' ]
);
[ 'class' => 'mw-watch-link' ],
[ 'action' => 'watch' ]
);