Last modified: 2008-01-08 16:43:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14543, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12543 - API does not support new protected titles system
API does not support new protected titles system
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-08 07:47 UTC by MER-C
Modified: 2008-01-08 16:43 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MER-C 2008-01-08 07:47:34 UTC
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...)
Comment 1 Roan Kattouw 2008-01-08 15:03:42 UTC
I'm on it.
Comment 2 Roan Kattouw 2008-01-08 16:43:43 UTC
Fixed in r29427.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links