Manual:$wgSummarySpamRegex

Details
Same as $wgSpamRegex except for edit summaries.