https://bugzilla.wikimedia.org/show_bug.cgi?id=55011
Web browser: --- Bug ID: 55011 Summary: Support for Wikimedia Labs and Toolserver Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/335/ Reported by: cdpark Created on: 2013-04-08 01:52:09 Subject: Support for Wikimedia Labs and Toolserver Original description: 1. Source directory repositiory Split pywikipedia source and user config/script. See also https://wikitech.wikimedia.org/wiki/Nova%5C_Resource%5C_Talk:Bots%5C#Pywikip... Currently, pywikipedia imports(or includes) other file from (1) source code directory (2) current working directory (3) pywikipedia environment, depends on code. How about to support PYWIKIPEDIA_HOME or similar environment for source code repository.
2. Local mysql mirror support. In WMLabs and toolserver, access of wikipedia mirror is available. Page.get() and pagegenerators can be use this information. (BTW, Page.put() should work to original site, not mirrors). It can be also useful for other mediawiki installs if admin runs some pywikipedia-based script (e.g. replace.py) for his own database.