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

           Summary: Errors when a module is used for both generator and prop
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
               URL: http://en.wikipedia.org/w/api.php?action=query&format=js
                    onfm&generator=templates&titles=Wikipedia:Bots/Requests%
                    20for%20approval&gtlnamespace=4&gtllimit=max&prop=revisi
                    ons|templates&rvprop=ids&tllimit=max
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: b-jor...@northwestern.edu
                CC: bryan.tongm...@gmail.com, vasi...@gmail.com,
                    soxre...@gmail.com


When a module is used both as the generator for a query and in the normal
"prop", and both limits are set to 'max', the API gives an error because it
tries to add the value to the "limits" node in the result twice.

For example, in the URL above I am trying to find all the Wikipedia-namespace
pages transcluded onto [[en:WP:BRFA]], along with the revision ID and the
templates each one transcludes.


-- 
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