Feature Requests item #3610265, was opened at 2013-04-07 18:52
Message generated for change (Comment added) made by legoktm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3610265&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ChongDae (cdpark)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support for Wikimedia Labs and Toolserver

Initial Comment:
1. Source directory repositiory
Split pywikipedia source and user config/script. See also 
https://wikitech.wikimedia.org/wiki/Nova_Resource_Talk:Bots#Pywikipediabot
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.


----------------------------------------------------------------------

>Comment By: Legoktm (legoktm)
Date: 2013-04-08 17:37

Message:
#1: This is implemented in the rewrite branch, you just set the
PYWIKIBOT2_DIR variable to where your user-config is.

#2: I think this would be an interesting layer to add onto pywikipedia.
Probably can be done with a "MysqlSite" or something, since all queries
should get routed through that. DB access doesn't mean you have page text
access, so it isn't *that* useful.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3610265&group_id=93107

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to