Page MenuHomePhabricator

API action=protect: protect-invalidaction: Invalid protection type "aft"
Closed, DeclinedPublic

Description

I'm getting API errors of protect-invalidaction: Invalid protection type "aft", but https://en.wikipedia.org/w/api.php?action=query&prop=info&inprop=protection&titles=AdS/CFT_correspondence&format=jsonfm shows there is an 'aft' type set

Probably because AFTv5 is not adding to $wgRestrictionTypes.


Version: unspecified
Severity: normal

Details

Reference
bz57389

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:33 AM
bzimport set Reference to bz57389.
bzimport added a subscriber: Unknown Object (MLST).

Change 96933 had a related patch set uploaded by Legoktm:
Add 'aft' to $wgRestrictionTypes if enabled

https://gerrit.wikimedia.org/r/96933

Lowering to normal, as I worked around this bug.

Change 96933 abandoned by Legoktm:
Add protection settings info to $wgRestrictionTypes and $wgRestrictionLevels

Reason:
Not the right way to do this.

https://gerrit.wikimedia.org/r/96933

[Lowering priority to reflect reality, as AFTv5 is not very actively being worked on anymore.]

Jdforrester-WMF subscribed.

All development work on AbuseFilter v.5 (and indeed, previous versions) is halted. The project is archived, so having open tasks is inappropriate. Consequently, I'm closing all tasks.