2013/10/18 Gerard Meijssen gerard.meijssen@gmail.com:
Hoi,
Ok ... ten questions ... I want to publish the answers on my blog before the pywikipedia bugday (october 24)... if only to get as many people as possible to attend.
When I send questions, I always indicate that some questions may not work well. <grin> I can replace a question if need be </grin> Thanks, Gerard
What is pywikipedia? As I understand it there are two versions, core and compat. What is pywikipedia core and what is compat? Why keep them both, it must be a lot of work to have to maintain them both
Great question, can't wait to hear the answers :) Feature parity seems to have been abandoned, which is a shame.
Recently all the bugs have been moved to bugzilla ... What is it that you hope to achieve by this? Recently all the code has been moved to git ... What is it that you hope to achieve by this? What is the biggest challenge running the pywikipedia bot?
On the pywikibot side, learning its limitation and working around them.
On the larger, bot side of things, performance. You have to always balance the API/server performance with the local computer's performance (mostly disk access for me, might be RAM limitations when running on a VPS) and the network performance. While not related to pwb, this is something you have to consider for each new bot one writes.
pwb could help by providing more advanced support for threads, such as thread-safe generators and better support for sections (such as retrieve the whole page but submit a section or vice versa).
How many people are using the pywikipedia bot and how many people are developing code for pywikipedia bot It is possible to use the pywikipedia bot in so many ways... Is it easy to learn what it can and cannot do?
Answer as a user: not really. There are a few manuals, on mediawiki.org, wikibooks, wikiversity and others, but they are outdated and for the most part only apply to the compat version. The simplest way is to look in the source (aka RTFS [1])
While it does support (almost?) all the API calls from MediaWiki, the functions used to access those APIs can be significantly different. This might also be due to the way the API is designed, I haven't really dug into that.
How long does it take before pywikipedia bot supports a new Wikidata data type ? There will be a pywikibot bugday... What is it and who can participate?
Thanks, Strainu
[1] http://www.urbandictionary.com/define.php?term=RTFS
On 14 October 2013 21:49, Antoine Musso hashar+wmf@free.fr wrote:
Le 14/10/13 16:11, Gerard Meijssen a écrit :
Hoi,
Core and Compat are the two faces of pywikipedia. Who is interested to answer some questions that helps me understand this better.
As I understand it Compat is the old version of pywikibot started in 2003. Core is a full rewrite started in 2007.
But I am merely a lurker here :-]
I would like to ask ten questions about this and publish the answers on my blog.
*be bold*
-- Antoine "hashar" Musso
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l