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 "Update phpCharToUpper.json based on current differences"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnwatchedpages.php
diff --git
a/includes/specials/SpecialUnwatchedpages.php
b/includes/specials/SpecialUnwatchedpages.php
index
a3a9bc6
..
3c5de64
100644
(file)
--- a/
includes/specials/SpecialUnwatchedpages.php
+++ b/
includes/specials/SpecialUnwatchedpages.php
@@
-102,6
+102,7
@@
class UnwatchedpagesPage extends QueryPage {
public function execute( $par ) {
parent::execute( $par );
$this->getOutput()->addModules( 'mediawiki.special.unwatchedPages' );
public function execute( $par ) {
parent::execute( $par );
$this->getOutput()->addModules( 'mediawiki.special.unwatchedPages' );
+ $this->addHelpLink( 'Help:Watchlist' );
}
/**
}
/**
@@
-117,11
+118,11
@@
class UnwatchedpagesPage extends QueryPage {
}
$text = MediaWikiServices::getInstance()->getContentLanguage()->
}
$text = MediaWikiServices::getInstance()->getContentLanguage()->
- convert(
$nt->getPrefixedText(
) );
+ convert(
htmlspecialchars( $nt->getPrefixedText()
) );
$linkRenderer = $this->getLinkRenderer();
$linkRenderer = $this->getLinkRenderer();
- $plink = $linkRenderer->makeKnownLink( $nt,
$text
);
+ $plink = $linkRenderer->makeKnownLink( $nt,
new HtmlArmor( $text )
);
$wlink = $linkRenderer->makeKnownLink(
$nt,
$this->msg( 'watch' )->text(),
$wlink = $linkRenderer->makeKnownLink(
$nt,
$this->msg( 'watch' )->text(),