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

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:02 PM
bzimport set Reference to bz12543.
MER-C created this task.Via LegacyJan 8 2008, 7:47 AM
Catrope added a comment.Via ConduitJan 8 2008, 3:03 PM

I'm on it.

Catrope added a comment.Via ConduitJan 8 2008, 4:43 PM

Fixed in r29427.

Add Comment