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: roan.katt...@gmail.com
        ReportedBy: duplicate...@googlemail.com
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    soxre...@gmail.com, vasi...@gmail.com
    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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to