https://bugzilla.wikimedia.org/show_bug.cgi?id=28751
Bug #: 28751
Summary: prop=info&inprop=protection shows sometimes protection
multiple
Product: MediaWiki
Version: 1.18-svn
Platform: All
URL: http://en.wikipedia.org/w/api.php?action=query&titles=
%s&prop=info&inprop=protection
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
The url shows:
<protection>
<pr type="edit" level="sysop" expiry="infinity" />
<pr type="edit" level="sysop" expiry="infinity" />
<pr type="move" level="sysop" expiry="infinity" />
<pr type="move" level="sysop" expiry="infinity" />
<pr type="edit" level="sysop" expiry="infinity" />
<pr type="move" level="sysop" expiry="infinity" />
</protection>
Why get each type added three times to the output?
It is not better to get it unique?
Thanks.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l