Page MenuHomePhabricator

Categories at the time of edit
Closed, DuplicatePublic

Description

I couldn't find a rule allowing to filter only pages in a given category, when they are transcluded by templates. It would allow to apply a filter only to BLPs for example (there are various methods to assign an article to this category). So it's a request for a variable, something like a current_categories list, composed of all categories the page is in at the time of the edit, if possible.


Version: unspecified
Severity: enhancement

Details

Reference
bz19455

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:39 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz19455.
bzimport added a subscriber: Unknown Object (MLST).

(Batch change)

These are low-priority miniprojects that I can mop up at some point when I'm doing general code work as opposed to working on a specific projects.

mike.lifeguard+bugs wrote:

Is it not possible to look at old_text using regex for the categories in page text?

[Batch change]

Removing Dave McCabe from CC, who I somehow managed to add to the CC list of 12 bugs assigned to me.

(In reply to comment #2)

Is it not possible to look at old_text using regex for the categories in page
text?

If the category is applied to the page via a template, the rule needs to look for all templates which add that category.