Page MenuHomePhabricator

Deprecate `wgSysopEmailBans`
Closed, ResolvedPublic

Description

$wgSysopEmailBans should be deprecated and removed:

  1. Its name is misleading; it must be true for any user to be able to ban a user from using their email
  2. Finer control is available via $user->isAllowed( 'blockemail' ) - for all user groups to be prohibited from banning emails, just set $wgGroupPermissions['sysop']['blockemail'] = false; - as of now, sysop is the only group given this rights in DefaultSettings.php

Details

Related Gerrit Patches:
mediawiki/core : masterHard deprecate `$wgSysopEmailBans`
mediawiki/core : REL1_34Hard deprecate `$wgSysopEmailBans`
mediawiki/core : masterDeprecate `$wgSysopEmailBans`

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald TranscriptSep 5 2019, 10:56 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 534701 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/534701

DannyS712 renamed this task from Deprecate and remove `wgSysopEmailBans` to Deprecate `wgSysopEmailBans`.Sep 5 2019, 11:05 PM

Hopefully this will be merged into 1.34 before the version is cut, and then it can be hard deprecated (i.e. removed) in a month

Change 534701 merged by jenkins-bot:
[mediawiki/core@master] Deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/534701

DannyS712 closed this task as Resolved.Sep 17 2019, 3:11 PM

Change 547694 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Hard deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/547694

Change 547695 had a related patch set uploaded (by Jforrester; owner: DannyS712):
[mediawiki/core@master] Hard deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/547695

Change 547695 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/547695

Change 547694 merged by jenkins-bot:
[mediawiki/core@REL1_34] Hard deprecate $wgSysopEmailBans

https://gerrit.wikimedia.org/r/547694