HomePhabricator

Avoid loading the blacklist in TitleGetEditNotices hook handler

Authored by ori.

Description

Avoid loading the blacklist in TitleGetEditNotices hook handler

  • Only show the override notice if the blacklist exemption is due to the user having the tboverride permission. (In other words, stop showing it for autoconfirmed users.)
  • Only bother checking the blacklist in the uncommon case of the user actually having the tboverride permission.

Change-Id: I3277df8213586f31d7b7c43f72596319228b2730
(cherry picked from commit a05d0abed95481de9009050c0e0a759900708d4a)

Details

Committed
oriSep 11 2015, 1:09 AM
Parents
rETBL822fc6cc9de9: Creating new wmf/1.26wmf22 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/56/237556/1
ChangeId
I3277df8213586f31d7b7c43f72596319228b2730