Log in / create account
AQWiki:Upload patch

This is a patch to the URL-based uploading feature new to the 1.8.x branch of MediaWiki (thanks to Brion Vibber for noting that it is now fixed in trunk). A bug exists in this branch where URLs are converted into lower case before the image is retrieved from the source server. This can cause problems when the server is case-sensitive and the URLs contain upper case letters.

Open includes/SpecialUpload.php, go to line 136, and find:

$url = strtolower( trim( $url ) );

Change it to:

$url = trim( $url );