jenkins-bot has submitted this change and it was merged.
Change subject: Escape twnmp-bannerwho
......................................................................
Escape twnmp-bannerwho
Bug: T85864
Change-Id: I4345b8105f1883c392e3ac13fcd026a56630a8f3
---
M specials/SpecialTwnMainPage.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
KartikMistry: Looks good to me, approved
Amire80: Looks good to me, approved
jenkins-bot: Verified
diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index fa73235..e5265b5 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -361,7 +361,7 @@
if ( isset( $image['attribution'] ) ) {
$out .= Html::rawElement( 'div', array( 'class' =>
'banner-attribution' ),
- $this->msg( 'twnmp-bannerwho',
$image['attribution'] )->plain()
+ $this->msg( 'twnmp-bannerwho' )->rawParams(
$image['attribution'] )->escaped()
);
}
--
To view, visit https://gerrit.wikimedia.org/r/224053
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4345b8105f1883c392e3ac13fcd026a56630a8f3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: KartikMistry <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits