https://bugzilla.wikimedia.org/show_bug.cgi?id=62247

            Bug ID: 62247
           Summary: Duplicate protection entries listed when both old and
                    new styles present
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: robinhoo...@live.ca
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
       Web browser: ---
   Mobile Platform: ---

The API lists duplicate protection entries when both page.page_restrictions and
page_protections.* entries are present. This can currently be seen on the
Wikipedia "Main page" redirect:

http://en.wikipedia.org/w/api.php?action=query&titles=Main+page&prop=info&inprop=protection

While the correct action is probably to run whatever maintenance script is
necessary to resolve the anomaly between tables, the API should probably also
account for the possibility that this script has never been run.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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