Steps to replicate the issue (include links if applicable):
- Go to Special:AbuseFilter/new
- Set the following conditions: added_lines[0] & false
- Save the filter
It also happens when updating an existing filter with similar conditions.
What happens?:
You get an error like:
[6f778b4a-04a4-403e-9a9e-894fe8258f81] 2024-06-22 19:43:24: Kritická výjimka typu „MediaWiki\Extension\AbuseFilter\Parser\Exception\UserVisibleException“
resp.
MediaWiki\Extension\AbuseFilter\Parser\Exception\UserVisibleException: notarray
What should have happened instead?:
The filter is saved. Or the exception is handled, and the error is more user-friendly.
Other information (browser name/version, screenshots, etc.):
Probably caused by rEABFf5d7b6890898c2e4c672142de70a91ba3ec0f099.
This can become annoying when you really really need to update a filter but are not allowed to do so.