Page MenuHomePhabricator

Regex matching in edit summaries should be more aggressive
Open, LowPublic

Description

Author: mike.lifeguard+bugs

Description:
Whenever we blacklist links used to vandalize or spam in edit summaries, they simply leave off the http:// or use "DOT com" and simply continue. Please make matching in edit summaries (and log entries once bug 13599 - T15599 is done) more aggressive -- don't require http:// or even www. and allow DOT (etc) as alternatives for a period

This should apply only to the edit summary and log entry checks; we would not want to be so aggressive (normally) in the page body.

Potential implementation: Copy the blacklist to make a "strict" and "loose" set of regexes. Then test the "loose" one against page content, and the "strict" on against summaries.

Details

Reference
bz16338