From: umherirrender Date: Thu, 29 Jan 2015 20:32:58 +0000 (+0100) Subject: Escape message 'version-poweredby-others' on Special:Version X-Git-Tag: 1.31.0-rc.0~12550^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=e9b3599b10e86e500140db69e7c0cc6b9bf4e428;p=lhc%2Fweb%2Fwiklou.git Escape message 'version-poweredby-others' on Special:Version Bug: T85864 Change-Id: I1e90962c3c94c8b72aadfc4c0d041d52e2cde3f1 --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 83fc636447..a7365bb2e5 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -964,10 +964,10 @@ class SpecialVersion extends SpecialPage { if ( $this->getExtAuthorsFileName( $extDir ) ) { $text = Linker::link( $this->getPageTitle( "Credits/$extName" ), - $this->msg( 'version-poweredby-others' )->text() + $this->msg( 'version-poweredby-others' )->escaped() ); } else { - $text = $this->msg( 'version-poweredby-others' )->text(); + $text = $this->msg( 'version-poweredby-others' )->escaped(); } $list[] = $text; } elseif ( substr( $item, -5 ) == ' ...]' ) { @@ -983,7 +983,7 @@ class SpecialVersion extends SpecialPage { if ( !$hasOthers && $this->getExtAuthorsFileName( $extDir ) ) { $list[] = $text = Linker::link( $this->getPageTitle( "Credits/$extName" ), - $this->msg( 'version-poweredby-others' )->text() + $this->msg( 'version-poweredby-others' )->escaped() ); }