mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Merge "Properly escape messages passed to HTMLForm"
This commit is contained in:
commit
8ea676892f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue