mediawiki-extensions-AbuseF.../includes/pagers
Daimona Eaytoy c469fb4b76 Mostly remove $wgUser
There are lots of cases where we can inject a User object without
additional efforts. Now $wgUser is only used inside AFComputedVariable,
which is a little bit harder to handle because some instances of that
class are serialized in the DB, and thus we cannot easily change the
constructor until T213006 is resolved.

This partly copies what Ia474f02dfeee8c7d067ee7e555c08cbfef08f6a6 tried
to do, but adopting a different approach for various can*() methods:
they're now static methods in the AbuseFilter class, so future callers
don't need to instantiate an AbuseFilterView class. This also allows to
re-use those methods in an API module for editing filters (T213037).

Bug: T213037
Bug: T159299
Change-Id: I22743557e162fd23b3b4e52951a649d8c21109c8
2019-08-27 13:20:37 +02:00
..
AbuseFilterExaminePager.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AbuseFilterHistoryPager.php Upgrade PHPCS and phan 2019-05-15 19:06:04 +02:00
AbuseFilterPager.php Mostly remove $wgUser 2019-08-27 13:20:37 +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