mediawiki-extensions-AbuseF.../includes/Views
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
..
AbuseFilterView.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewDiff.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewEdit.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewExamine.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
AbuseFilterViewHistory.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewImport.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewList.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
AbuseFilterViewRevert.php Overhaul Blockautopromote action 2019-08-05 22:27:49 -04:00
AbuseFilterViewTestBatch.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
AbuseFilterViewTools.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00