fsrrt / wikiteam

Automatically exported from code.google.com/p/wikiteam
1 stars 0 forks source link

Use API (tracking) #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Many bugs request API usage or could (probably) be fixed by using API.
Using API for pages is already many many times more efficient than index; using 
API everywhere (on wikis which have them) would make the script more robust and 
faster.

Original issue reported on code.google.com by nemow...@gmail.com on 29 Feb 2012 at 11:41

GoogleCodeExporter commented 8 years ago

Original comment by ad...@alphacorp.tk on 22 Jun 2012 at 10:02

GoogleCodeExporter commented 8 years ago

Original comment by nemow...@gmail.com on 9 Nov 2012 at 10:05

GoogleCodeExporter commented 8 years ago
There are some libraries which might help: 
https://www.mediawiki.org/wiki/API:Client_code#Python

Original comment by nemow...@gmail.com on 9 Nov 2012 at 10:15

GoogleCodeExporter commented 8 years ago
See also specifications for a rewrite at 
https://meta.wikimedia.org/wiki/WikiTeam/Dumpgenerator_rewrite

Original comment by nemow...@gmail.com on 4 May 2013 at 10:18

GoogleCodeExporter commented 8 years ago

Original comment by nemow...@gmail.com on 25 Oct 2013 at 12:46

GoogleCodeExporter commented 8 years ago

Original comment by nemow...@gmail.com on 5 Nov 2013 at 5:48

GoogleCodeExporter commented 8 years ago

Original comment by ad...@alphacorp.tk on 12 Nov 2013 at 6:38

GoogleCodeExporter commented 8 years ago
Interesting set of PHP scripts which do some things more than dumpgenerator.py 
for API-enabled wikis (like logs download; interwiki map and usergroups are 
rarely interesting).
https://www.mediawiki.org/wiki/Manual:Grabbers

Original comment by nemow...@gmail.com on 16 Dec 2013 at 12:02

GoogleCodeExporter commented 8 years ago
As for XML download:

jayvdb> Nemo_bis: there is an export=1 and exportnowrap=1 API params, which 
force the API to provide the same as Special:Export, right down to the bugs in 
Special:Export

Also, his https://gerrit.wikimedia.org/r/136352 should remove any obstacle in 
using pywikibot.

Original comment by nemow...@gmail.com on 8 Jun 2014 at 1:12