No longer special case 'patrol' in $wgFilterLogTypes
authorBrian Wolff <bawolff+wn@gmail.com>
Sat, 14 Oct 2017 03:20:10 +0000 (03:20 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Sat, 28 Oct 2017 13:08:43 +0000 (13:08 +0000)
commiteb1caed560cae1093deb6f44385684674890cbb5
tree4db4ca5fdb105df496ebc0d4b8914ee7886a03f8
parent1686d396dbb1f08646e17505d283d811c13b0e88
No longer special case 'patrol' in $wgFilterLogTypes

Previously, if you did not have the right to patrol/view patrolmarks,
you were not allowed to filter Special:Log to remove autopatrol
entries.

Now if wikiadmins want to disable the filtering, they have to
directly change the config value.

This was stupid because:
* Users without patrol rights are just as likely to not care about
  autopatrol spam as users with the priv.
* Sometimes wikiadmins want to hide old patrol log entries even
  after they disabled the patrol feature.

It should be noted there have been two previously attempts at fixing
this issue that didn't go anywhere:
* I9de17fc197a06402a4999a9fb792b86657641f76
* I88448ca0f09069943fd514a5b8213dfdafa57299

Bug: T44246
Change-Id: I590db72c169f3a9ad96c710f088923419d40e48d
RELEASE-NOTES-1.31
includes/DefaultSettings.php
includes/logging/LogPager.php