Caching based on the input (pre-check) AbuseFilterVariableHolder vars as a key and using the existing onParserOutputStashForEdit hook could improve page save time. A large chunk of edits have no summary or the default section summary (and minoredit=0). Edits from (undo) links have a prefilled summary, so that can be known at stash time too.
Related Gerrit Patches:
|mediawiki/extensions/AbuseFilter : master||Cache AbuseFilter::checkAllFilters during edit stashing|
|mediawiki/core : master||Send the edit summary/user to the edit stash API|
|Resolved||aaron||T136678 Investigate how to increase edit stash hit rate|
|Resolved||aaron||T137698 Plugin AbuseFilter::checkAllFilters pre-caching into the edit stash hook|