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 'action': upload" xml:space="preserve">
****************************************************************** ** ** ** This is an auto-generated MediaWiki API documentation page ** ** ** ** Documentation and Examples: ** ** http://www.mediawiki.org/wiki/API ** ** ** ******************************************************************
etc...
..I think my mediawiki doesnt have action=upload.
So is it possible to run this action if I copy APIUploadFile.php in includes/api or are there some more settings for this?
Sorry but I really want to have remote upload functionality ,so I am posting so many questions here
Roan Kattouw-2 wrote:
2010/2/15 Heramb Lele heramb.forums@googlemail.com:
After adding the filename parameter
Now I can see in the response from the server
'Unknown_action'
You need to be logged in, pass the cookies that you received from action=login, and ensure that your version of MediaWiki really has action=upload.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api