mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-14 09:44:44 +00:00
45d80bc7e5
- 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 |
||
---|---|---|
.. | ||
api | ||
Hooks | ||
LogFormatter | ||
pagers | ||
parser | ||
special | ||
VariableGenerator | ||
Views | ||
AbuseFilter.php | ||
AbuseFilterChangesList.php | ||
AbuseFilterHooks.php | ||
AbuseFilterPermissionManager.php | ||
AbuseFilterPreAuthenticationProvider.php | ||
AbuseFilterRunner.php | ||
AbuseFilterServices.php | ||
AbuseFilterVariableHolder.php | ||
AFComputedVariable.php | ||
FilterProfiler.php | ||
KeywordsManager.php | ||
ServiceWiring.php | ||
TableDiffFormatterFullContext.php |