mediawiki-extensions-AbuseF.../includes/special
Daimona Eaytoy 45d80bc7e5 Clean up view classes
- Depend on a generic IContextSource rather than SpecialAbuseFilter
  (lower coupling);
- Inject a LinkRenderer (IContextSource doesn't have a ::getLinkRenderer
  method)
- Add a helper method in SpecialAbuseFilter to get the page title, that
  can also be used elsewhere (and the name constant can be made private
  now)
- Pull down the mFilter property (and rename it to just 'filter') to
  classes that actually need it. Some classes didn't need this at all
  and the types were different among subclasses

Now the only cause of coupling between the View classes and
SpecialAbuseFilter is the static call in getTitle.

Change-Id: I3df0c3a7621f0cc9a64a16b0a402a15aae2d5d73
2020-10-13 10:38:43 +02:00
..
AbuseFilterSpecialPage.php Add an AbuseFilterPermissionManager service 2020-10-10 14:03:29 +02:00
SpecialAbuseFilter.php Clean up view classes 2020-10-13 10:38:43 +02:00
SpecialAbuseLog.php Add an AbuseFilterPermissionManager service 2020-10-10 14:03:29 +02:00