Page MenuHomePhabricator

Support regex patterns/subcategories for `inCategory`/`notInCategory`
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
I would like to suggest adding support for regex patterns of providing categories lists in inCategory/notInCategory parameters in EditChecks. An usecase -- one of TextMatch edit checks on ruwiki needs to detect whether a person has died in 1923-1991, and to ignore these cases we are required to specify 1991-1922=69 categories of form "Умершие в <year> году".

I also would like a parameter (e.g. depth) for controlling how deep an article can be nested in a category from the categories list -- this would also help us. There also should be a possibility (or maybe the only option) to set something like depth: Infinity, effectively making inCategory something like "article is included by the categories chain in one of the categories".