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

       Web browser: ---
             Bug #: 29264
           Summary: Wrong error code when no action given
           Product: MediaWiki
           Version: (wikimedia-deployment)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: m8r-udf...@mailinator.com
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    soxre...@gmail.com, vasi...@gmail.com
    Classification: Unclassified


When action isn't in the request, it returns with the error code "help" which
could be more specific

For example:
http://en.wikipedia.org/w/api.php?=query&prop=info&titles=Main%20Page&format=xml

vs the correct one:
http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Main%20Page&format=xml

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