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

           Summary: Collection uses curl_*() functions instead of
                    Http::*() functions
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Collection
        AssignedTo: [email protected]
        ReportedBy: [email protected]


MediaWiki has an Http class (see includes/HttpFunctions.php) wrapping cURL
which falls back to fopen() if cURL is unavailable and throwing a helpful
exception if neither is available.

On the other hand Collection uses curl_*() functions directly. This doesn't
allow for fallback to fopen() and doesn't display a helpful exception when cURL
is unavailable but causes an opaque fatal error which has to be dug up from the
error log.

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