Manual:$wgSummarySpamRegex/en

Details
Same as  except for edit summaries.