Not just [[Category:Foo]] additions, but also categories from templates, should be available. At least a variable for categories after the edit would be useful.
Version: unspecified
Severity: enhancement
Not just [[Category:Foo]] additions, but also categories from templates, should be available. At least a variable for categories after the edit would be useful.
Version: unspecified
Severity: enhancement
(In reply to comment #2)
PiRSquared17: Did you talk to agarrett and did he agree to implement this?
No, but I did ask him on his talk page on MW.org.
@Daimona is this doable? I am assuming yes, because AbuseFilter has access both to the wikitext and the parsed output, so presumably, it should also have access to categories in which the old and new page would be, right?
Yeah, this is doable. It'll be expensive, especially the part for extracting categories from the old wikitext, but doable. This would be very similar to the code for (all|removed|added)_links in AFComputedVariable, because ParserOutput gives access to categories as well. Something similar to getLinksFromDB will be needed to extract categories from the old wikitext.