2009/1/19 Platonides platonides@gmail.com:
Andrew Dunbar wrote:
2009/1/18 Platonides platonides@gmail.com:
Ankuj Gupta wrote:
Can api be used offline.
The API is a way to communicate with the server. Thus you can't really expect to use the api (communicate with the server) being offline (no connection to the server). You could have a local copy but that wouldn't qualify to much as offline. You just move the server to your computer.
I have an unfinished Firefox extension which emulates a couple of read only API functions for accessing an offline Wiktionary dump. If anyone wants to improve it I could release it.
Andrew Dunbar (hippietrail)
Which ones? Do they make sense? I mean, the api is usually for external processing, how useful is it from inside Firefox?
Just the couple I needed for checking for and fetching raw articles: /w/index.php?title=...&action=raw /w/api.php?format=json&action=query&titles=...|...&redirects
plus an extension which returned a list of languages for which there were articles in an English Wiktionary page
For outside Firefox I also had a Perl CGI version but on my Eee PC that was way more expensive to run
Andrew Dunbar (hippietrail)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api