Hi,
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
Why you dont use SOAP or XML-RPC?
Greetings from Germany
Christian Thiele
--
Freiberuflicher Softwareentwickler
Christian Thiele
August-Bebel-Straße 48
04275 Leipzig
Tel. 0178 4860018
http://www.mediawiki.org/wiki/API
On Nov 9, 2007 5:03 PM, Christian Thiele ChristianThiele@gmx.de wrote:
Hi,
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
Why you don't use SOAP or XML-RPC?
Greetings from Germany
Christian Thiele
--
Freiberuflicher Softwareentwickler
Christian Thiele
August-Bebel-Straße 48
04275 Leipzig
Tel. 0178 4860018
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Hello,
I can read, but these pages did not answer my questions. I only found Java, Python, Ruby and .Net - Client code - but not for PHP (what is a little bit amazing)
And WDDX and xml are mentioned as supported formats.
Can I use the API in an productional environment?
Thanks in advance.
Bye Christian
-- Freiberuflicher Softwareentwickler
Christian Thiele August-Bebel-Straße 48 04275 Leipzig Tel. 0178 4860018
Hello,
Yes, the API can be used with PHP; it can even return the output in PHP format. For example, to log in: http://lists.wikimedia.org/pipermail/mediawiki-api/2007-October/000117.html (linked from http://www.mediawiki.org/wiki/API:Login#External_links). It can also be used internally by MediaWiki.
Yours cordially, Jesse Martin (Pathoschild)
Christian Thiele schreef:
Hi,
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
There is no client, as the API isn't really completely finished yet. You could write one yourself, though.
Roan Kattouw (Catrope)
On Nov 9, 2007 10:03 PM, Christian Thiele ChristianThiele@gmx.de wrote:
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
You can try my query class which I developed for my toolserver tools: http://tools.wikimedia.de/~magnus/common.php?common_source=class_wikiquery.p...
Grüße zurück nach Deutschland :-) Magnus
If I am not mistaken, that class uses query.php, which is obsolete and no longer maintained.
On Nov 13, 2007 1:30 PM, Magnus Manske magnusmanske@googlemail.com wrote:
On Nov 9, 2007 10:03 PM, Christian Thiele ChristianThiele@gmx.de wrote:
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
You can try my query class which I developed for my toolserver tools: http://tools.wikimedia.de/~magnus/common.php?common_source=class_wikiquery.p...
Grüße zurück nach Deutschland :-) Magnus
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
It's using a mix of both. Shouldn't be too hard to adapt. I might do that myself when I have time [insert insane laugh].
Maybe we should write a class and put it SVN? This was something I suggested for the "stable toolserver" anyway.
Magnus
On Nov 13, 2007 7:03 PM, Yuri Astrakhan yuriastrakhan@gmail.com wrote:
If I am not mistaken, that class uses query.php, which is obsolete and no longer maintained.
On Nov 13, 2007 1:30 PM, Magnus Manske magnusmanske@googlemail.com wrote:
On Nov 9, 2007 10:03 PM, Christian Thiele ChristianThiele@gmx.de wrote:
i am new here and I have one question, is there an API client for PHP available? Maybe stupid, but I need one to communicate (read&write) with mediawiki from another project, written in php ;-)
You can try my query class which I developed for my toolserver tools: http://tools.wikimedia.de/~magnus/common.php?common_source=class_wikiquery.p...
Grüße zurück nach Deutschland :-) Magnus
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
On Nov 14, 2007 7:43 AM, Magnus Manske magnusmanske@googlemail.com wrote:
Maybe we should write a class and put it SVN? This was something I suggested for the "stable toolserver" anyway.
I've been working on one for my own projects, but once I finish it I could certainly distribute it if people would find it useful. One issue in finishing it is that many API queries return data inconsistently with each other, I've been planning to do some work on standardising the format of results but I haven't had time.
mediawiki-api@lists.wikimedia.org