[Mediawiki-l] API Upload file throws uploaddisabled

Adam Meyer meyer7 at mindspring.com
Sun Jun 26 21:03:05 UTC 2011


Im trying to upload a file via the API, called internally using fauxRequest.

Im trying a test just using the URL upload on the file http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png

But I keep getting an error. -> uploaddisabled: Uploads are not enabled. Make sure $wgEnableUploads is set to true in LocalSettings.php and the PHP ini setting file_uploads is true

wgEnableUploads is set to true and I am able to upload files with the web interface. Im running MW 1.16

Thanks


More information about the MediaWiki-l mailing list