The API can be used by third party applications, and not only by web 
applicatiosn...  In our case, we are using it for a client on a mobile device 
and thus no cookies are supported, that's why all information stored in cookies 
must be managed through the request.  POST is just our election, we feel more 
conformate passing sensible information via POST.

About upfile --> that's right, the file contents.

upsourcetype = yes mime-type.  Currently, only images can be uploaded, but we 
have plans to upload also video/audio.

I take the point to add examples to the docs!

Raquel

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Bryan Tong Minh
Enviado el: sábado, 01 de septiembre de 2007 20:26
Para: MediaWiki API announcements & discussion
Asunto: Re: [Mediawiki-api] New branch ApiEdit_Vodafone

I took a more thorough look through the docs, and have a question
about those "tokens" needed for editting. Are you forced to pass those
tokens through a post request? Or can you also use the old cookie way?

upfile=<path_to_file>. I assume that that should be the actual file contents?

upsourcetype = <file>. And what does this mean? The mimetype?

Thanks for your great work!

Bryan

On 8/31/07, Frisa, Raquel, VF-ES (rfrisar) <[EMAIL PROTECTED]> wrote:
> My will is to have it as soon as possible, but it doesn't only depend on us.
>
> Raquel
>
> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Bryan Tong Minh
> Enviado el: jueves, 30 de agosto de 2007 11:56
> Para: MediaWiki API announcements & discussion
> Asunto: Re: [Mediawiki-api] New branch ApiEdit_Vodafone
>
> Great news! When can we expect this to be enabled?
>
> Bryan
>
> On 8/30/07, Frisa, Raquel, VF-ES (rfrisar) <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi all,
> >
> > This is the new branch with the contribution to create three new actions:
> > edit, reguser, upload:
> > http://svn.wikimedia.org/svnroot/mediawiki/branches/ApiEdit_Vodafone/
> > .  New updates will be ready shortly, perhaps today.
> >
> > Details about formats can be found at:
> > http://www.mediawiki.org/wiki/API:Changing_wiki_content ,
> > see  Edit, Upload and RegUser.
> >
> >
> >
> > Raquel
> >
> > Raquel Frisa
> >
> > R&D Engineer
> >
> > Vodafone Group Research & Development .ES
> >
> >
> >
> > Tel: + 34 (607) 137-414
> >
> > Fax: +34 (974) 215-267
> >
> > Mobile: +34 (610) 513-633
> >
> > mailto:[EMAIL PROTECTED]
> >  http://www.vodafone-rnd.com
> >
> > Postal Office:  Parque Tecnológico Walqa, Crta. Zaragoza, N-330ª Km.566 -
> > Edificio 2, 22197, Cuarte - Huesca, Spain
> >
> >
> >
> > Vodafone Group Services Limited
> >
> > Registered Office: Vodafone House,  The Connection,  Newbury,  Berkshire,
> > RG14 2FN
> >
> > Registered in England No 3802001
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Mediawiki-api mailing list
> > [email protected]
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
> >
> >
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

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

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

Reply via email to