[Mediawiki-api] Image uploading

Heramb Lele heramb.forums at googlemail.com
Mon Feb 15 13:42:05 UTC 2010


The response is

HTTP/1.1 200 OK\r\n
Date: Mon, 15 Feb 2010 13:37:01 GMT\r\n
Server: Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i
mod_autoindex_color PHP/5.2.6\r\n
X-Powered-By: PHP/5.2.6\r\n
MediaWiki-API-Error: unknown_action\r\n
Expires: Thu, 01 Jan 1970 00:00:01 GMT\r\n
Cache-Control: s-maxage=0, must-revalidate, max-age=0\r\n
Vary: Accept-Encoding\r\n
X-Vary-Options: Accept-Encoding;list-contains=gzip\r\n
Transfer-Encoding: chunked\r\n
Content-Type: text/html; charset=utf-8\r\n

On Mon, Feb 15, 2010 at 2:39 PM, Heramb Lele
<heramb.forums at googlemail.com>wrote:

> After adding the filename parameter
>
> Now I can see in the response from the server
>
> 'Unknown_action'
>
>
> On Mon, Feb 15, 2010 at 1:47 PM, Bryan Tong Minh <bryan.tongminh at gmail.com
> > wrote:
>
>> On Mon, Feb 15, 2010 at 1:44 PM, Heramb Lele
>> <heramb.forums at googlemail.com> wrote:
>> > Here is the request
>> >
>> You are missing the filename parameter, which is mandatory. (This is
>> something different from the filename in the file field, which is not
>> used)
>>
>>
>> Bryan
>>
>> _______________________________________________
>> Mediawiki-api mailing list
>> Mediawiki-api at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20100215/6837b04a/attachment.htm 


More information about the Mediawiki-api mailing list