AbuseFilter errors and warnings during page save are not detected as a specific type of failure. The closed task T57293#1921011 includes an example of Pywikibot hitting an edit filter and the resulting failure.
Often Abusefilter rules allow an action to be re-tried, and other abusefilter rules can cause a block if repeatedly ignored.
When an abuse filter has been encountered, the API error codes should be decoded, reported nicely to the user, and possibly allow re-try if the abusefilter rule allows that.
Also Pywikibot may need to alert the user that it may be about to trigger a block action if it continues to perform the same type of edit.
Familiarisation:
A good way to start familiarising yourself with this project proposal is to set up a MediaWiki installation on your computer, with the abuse filter extension, set up some abuse filter rules on your own wiki, using various abuse rule options, and then
- trigger them manually with a normal browser
- trigger them automatically with a MediaWiki client, preferably Pywikibot.
Look at https://www.mediawiki.org/wiki/Special:AbuseFilter and https://en.wikipedia.org/wiki/Special:AbuseFilter to see what rules big wikis create, and why, and think about how an automated MediaWiki client should respond when it hits one of those rules.
Mentors: @jayvdb
Co-mentor: @AbdealiJK
Microtask: T56551, T103284, T103736
Skills required: Python, Pywikibot, Mediawiki Extension Abusefilter