mediawiki-extensions-AbuseF.../includes/api
Daimona Eaytoy 87713008d5 Use permissions accessors
There are lots of calls to $user->isAllowed which could be simplified
using available accessors like canEdit(). So simplify those calls and
avoid duplication.

Note that using canEdit also fixes a bug which affected blocked users:
we used to show e.g. the import link, and not to display as disabled
several text fields, while blocked users cannot actually edit filters.

Depends-On: I22743557e162fd23b3b4e52951a649d8c21109c8
Change-Id: I62779e940949ef49018a9c6d901bb6e10aa81da8
2019-08-27 13:21:55 +02:00
..
ApiAbuseFilterCheckMatch.php Use permissions accessors 2019-08-27 13:21:55 +02:00
ApiAbuseFilterCheckSyntax.php Use permissions accessors 2019-08-27 13:21:55 +02:00
ApiAbuseFilterEvalExpression.php Fix coding conventions exclusion rules 2018-04-20 08:40:18 +00:00
ApiAbuseFilterUnblockAutopromote.php Overhaul Blockautopromote action 2019-08-05 22:27:49 -04:00
ApiAbuseLogPrivateDetails.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
ApiQueryAbuseFilters.php Use permissions accessors 2019-08-27 13:21:55 +02:00
ApiQueryAbuseLog.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00