mediawiki-extensions-AbuseF.../includes/pagers
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
..
AbuseFilterExaminePager.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AbuseFilterHistoryPager.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterPager.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseLogPager.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
GlobalAbuseFilterPager.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00