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

Details

Committed
oriSep 11 2015, 12:14 AM
Parents
rETBLdb070d28b0af: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/45/237545/2
ChangeId
I3277df8213586f31d7b7c43f72596319228b2730