mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Bump MW requirement to 1.37
The master version of the extension is only meant to support the most recent version of MediaWiki. Change-Id: I33612e69fc37bf5eb70133c8f0e95199dd7fcb65
This commit is contained in:
parent
351f9f02bc
commit
e56dcc7cb1
|
@ -12,7 +12,7 @@
|
|||
"license-name": "GPL-2.0-or-later",
|
||||
"type": "antispam",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.36.0"
|
||||
"MediaWiki": ">= 1.37.0"
|
||||
},
|
||||
"AvailableRights": [
|
||||
"abusefilter-modify",
|
||||
|
|
|
@ -49,8 +49,6 @@ class AbuseFilterHooks {
|
|||
// Produce a useful error message for API edits
|
||||
$filterResultApi = self::getApiStatus( $filterResult );
|
||||
$status->merge( $filterResultApi );
|
||||
// @todo Remove this line after this extension do not support mediawiki version 1.36 and before
|
||||
$status->value = \EditPage::AS_HOOK_ERROR_EXPECTED;
|
||||
}
|
||||
MediaWikiServices::getInstance()->getStatsdDataFactory()
|
||||
->timing( 'timing.editAbuseFilter', microtime( true ) - $startTime );
|
||||
|
|
Loading…
Reference in a new issue