mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-18 02:40:50 +00:00
Revert "Set a fixed default for echo-email-format"
This reverts commitf305c2d778
. Reason for revert: This is not the way of setting the default user option, the 'default' param for HTMLForm should be filled with the user's current option. Similar mistakes happened many times, maybe we should deprecate setting this param for any field types other than the 'info' type at the preferences form level. Bug: T350530 Change-Id: I1d0fce3db4a4228a6adcd9fe12dbc3da7ac0f710 (cherry picked from commit00f464e0fe
)
This commit is contained in:
parent
baf78123dc
commit
ecb7eea891
|
@ -317,7 +317,6 @@ class Hooks implements
|
||||||
// Email format
|
// Email format
|
||||||
$preferences['echo-email-format'] = [
|
$preferences['echo-email-format'] = [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'default' => EmailFormat::HTML,
|
|
||||||
'label-message' => 'echo-pref-email-format',
|
'label-message' => 'echo-pref-email-format',
|
||||||
'section' => 'echo/emailsettings',
|
'section' => 'echo/emailsettings',
|
||||||
'options-messages' => [
|
'options-messages' => [
|
||||||
|
|
Loading…
Reference in a new issue