2010/2/15 Herulee <[email protected]>:
>
> ahh ok
>
> After giving a try ..just to know if mediawiki has action=upload or not
>
> e.g in the browser http://mediawiki/mediawiki/api.php?action=upload
> it gives
>
> <?xml version="1.0"?>
> <api>
>  <error code="unknown_action" info="Unrecognized value for parameter
> &#039;action&#039;: upload" xml:space="preserve">
>
The thing is older versions of MediaWiki lie and say action=upload
doesn't exist when you really just don't have permission to use it.

> So is it possible to run this action if I copy APIUploadFile.php in
> includes/api
> or are there some more settings for this?
>
Best course of action is to check if you have
includes/api/ApiUpload.php . If you don't, you'll have to wait for
MediaWiki 1.16 to be released before you can use the upload API,
1.15.1 doesn't have it yet.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to