HomePhabricator

Don't send email notifs to blocked users if $wgBlockDisablesLogin is true

Description

Don't send email notifs to blocked users if $wgBlockDisablesLogin is true

Previously, private data could be leaked on private wikis where
this configuration is common. To prevent this, do not send email
notifications on page changes for blocked watchers and blocked
talk page owners if $wgBlockDisablesLogin is true.

Bug: T54453
Change-Id: I17408e1038ae10ee01eab747591ef2d9c86b106e