Page MenuHomePhabricator

CW#501: Allow bot runs on a limited set of regular expressions
Closed, ResolvedPublic

Description

Allowing bot runs on some regular expressions could be useful to fix some typo problems when there are no risks of false positives...

See the discussion "Modèle date dans les articles".

Event Timeline

I've modified WPCleaner to allow working on a subset of regular expressions when running in bot mode. This is based on optionally defining a group name for each regular expression, and configuring the bot to run only on a selected list of groups (by default, no groups are selected).

The task about the restriction of replacements in alt attribute of images can be useful to include some regular expressions, but is not required to do this one.