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
Add .pipeline/ with dev image variant
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWantedcategories.php
diff --git
a/includes/specials/SpecialWantedcategories.php
b/includes/specials/SpecialWantedcategories.php
index
2accef6
..
5c62298
100644
(file)
--- a/
includes/specials/SpecialWantedcategories.php
+++ b/
includes/specials/SpecialWantedcategories.php
@@
-91,7
+91,8
@@
class WantedCategoriesPage extends WantedQueryPage {
*/
function formatResult( $skin, $result ) {
$nt = Title::makeTitle( $result->namespace, $result->title );
*/
function formatResult( $skin, $result ) {
$nt = Title::makeTitle( $result->namespace, $result->title );
- $text = MediaWikiServices::getInstance()->getContentLanguage()->convert( $nt->getText() );
+ $text = new HtmlArmor( MediaWikiServices::getInstance()->getContentLanguage()
+ ->convert( htmlspecialchars( $nt->getText() ) ) );
if ( !$this->isCached() ) {
// We can assume the freshest data
if ( !$this->isCached() ) {
// We can assume the freshest data