mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +00:00
45f0a66616
So everything can be loaded using PSR-4. These classes weren't renamed, nor the alias for the AbuseFilter class was deprecated, because they should be refactored first. Change-Id: Ia328db58eb326968edf5591daac9bacf8c2f75da
16 lines
391 B
PHP
16 lines
391 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\AbuseFilter\Hooks;
|
|
|
|
interface AbuseFilterBuilderHook {
|
|
/**
|
|
* Hook runner for the `AbuseFilter-builder` hook
|
|
*
|
|
* Allows overwriting of the parser keywords
|
|
*
|
|
* @param array &$realValues Builder values
|
|
* @return bool|void True or no return value to continue or false to abort
|
|
*/
|
|
public function onAbuseFilterBuilder( array &$realValues );
|
|
}
|