Thread:Project:Support desk/Importing a pdf file through php/reply

What error do you get when you try uploading a file with this script?

Here is the source code: https://github.com/wikimedia/mediawiki/blob/master/maintenance/importImages.php