Jérémie Roquet wrote:
> Hi Ilmari, great idea!
> It's  not as powerful as the iframe hack was (since it's limited to
> the api), but I think it's enough for me to release a quick fix for
> iKiwi (not for xmsg, unfortunately, because userinfo is not accessible
> that way).
> I didn't know about the callback parameter, so you just saved my
> business ;-) Thanks a lot!

Why do you consider the api less powerful than "dom scraping" ?
What can't you do with it?

It fits perfectly for fetching the interwikis:
http://en.wikipedia.org/w/api.php?action=parse&page=Main_Page&prop=langlinks

And there's a handy property to determine if you have new messages:
http://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=hasmsg


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to