From 7258a7cb86a60b22b73a9b621b0e234347996d42 Mon Sep 17 00:00:00 2001 From: Jan Drewniak Date: Mon, 24 May 2021 13:58:42 +0200 Subject: [PATCH] Use escaped() instead of parse() in SkinVector::createULSLanguageButton Bug: T282540 Change-Id: Ie8f0fe262f34e669d49f98efc27c179b257786dc --- includes/SkinVector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinVector.php b/includes/SkinVector.php index a608b6e5..e9bc2e3e 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -305,7 +305,7 @@ class SkinVector extends SkinMustache { 'label' => $this->msg( 'vector-language-button-label', count( $this->getLanguagesCached() ) - )->parse(), + )->escaped(), 'heading-class' => ' vector-menu-heading ' . ' mw-ui-icon ' .