Page MenuHomePhabricator

API does not support new protected titles system
Closed, ResolvedPublic

Description

The API fails to realize that pages protected with protection type "create" are, indeed, protected. For example the page [[Deletion log]] is protected this way, but
http://en.wikipedia.org/w/api.php?action=query&prop=info&inprop=protection&titles=Deletion%20log does not mention this. Instead there should be:

[protection]

[pr type="create" level="sysop" expiry="infinity" /]

[/protection]

(I don't know if Bugzilla can format entities and there's no preview...)


Version: 1.12.x
Severity: normal
URL: http://en.wikipedia.org/w/api.php?action=query&prop=info&inprop=protection&titles=Deletion%20log

Details

Reference
bz12543