Background
Based on the T224245: Create a way to save preference options wherever they are set by GlobalPreferences without disruption we decided that if a preference is local for the user (the user does not have that preference enabled in Special:GlobalPreferences) then the value will be saved locally.
But that is not what happens right now.
Steps to reproduce
- Enable autoglobal for the setting and other relevant flags
$wgGlobalPreferencesAutoPrefs = [
'email-blacklist',
];
$wgEnableUserEmailBlacklist = true;
$wgEnableSpecialMute = true;- Make sure you don't have Prohibit these users from emailing me as a global preference.
- Go to Special:Mute/some-user (Make sure your user has a confirmed email address)
- Mute user from sending you emails
Expected behavior: Option is saved locally.
Actual behavior: GlobalPreferences auto-enables Prohibit these users from emailing me