Merge "Properly escape messages passed to HTMLForm"

This commit is contained in:
jenkins-bot 2018-05-29 10:17:42 +00:00 committed by Gerrit Code Review
commit 8ea676892f

View file

@ -50,9 +50,9 @@ class PopupsHooks {
'label-message' => 'popups-prefs-optin-title',
'help-message' => 'popups-prefs-conflicting-gadgets-info',
'options' => [
wfMessage( 'popups-prefs-optin-enabled-label' )->text()
wfMessage( 'popups-prefs-optin-enabled-label' )->escaped()
=> PopupsContext::PREVIEWS_ENABLED,
wfMessage( 'popups-prefs-optin-disabled-label' )->text()
wfMessage( 'popups-prefs-optin-disabled-label' )->escaped()
=> PopupsContext::PREVIEWS_DISABLED
],
'section' => self::PREVIEWS_PREFERENCES_SECTION