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

           Summary: Upload API backwards error messages
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]


In testing client code to use action=upload, I have received at various times
the following error messages:

code=<bad-url>
info=fetchfileerror

code=<Error sending request: #28 connect() timed out!>
info=fetchfileerror

code=<Error sending request: #7 couldn't connect to host>
info=fetchfileerror

It seems apparent that the "code" and "info" elements are being reversed; also,
the use of < and > delimiters around the info message is inconsistent with how
errors are reported by other API modules.


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

Reply via email to