[Toolserver-l] Toolserver Intuition: non-PHP projects

Purodha Blissenbach toolserver-l.wikipedia.org at publi.purodha.net
Mon Apr 11 17:46:35 UTC 2011


Krinkle wrote:
> * Python
>  - Not sure how to pull this one off yet, as a work around it could
> make http request to the api in json (since Python supports that) but
> a way without making http calls would be preferred. I'm not a heavy
> Python developer (I've used it a couple of times to write simple
> ircbots (irclib) and wikibots (pywikibot), but that's about it). Any
> suggestions from python developers how they would like to have it
> delivered, let me know how you want it served and I'll see what I can
> do.

Count me in for supporting python, too. My experience is similar to yours,
and I cannot start rightaway, but I think, getting the php implementation
as a reference should have preceedence anyways.

Btw., I have been thinking about PLURAL implementations. It might
be possible to automatically extract plural routines from MediaWikis
LanguageZxx.php files, and wrapping them into a piece of code such
as a big switch on language codes. Since the functions are pretty small,
and there are not really many languages having their own PLURAL
implementations, this might at least be a simple and effective start.

-- 
Greetings - Purodha



More information about the Toolserver-l mailing list