Pywikibot/Overview: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
No edit summary
Line 20: Line 20:


In summary users configure these three files:
In summary users configure these three files:
*<tt>[[user-config.py]]</tt> {{green|#REQUIRED}} ''see [[Pywikipediabot/user-config.py]]''
*<tt>[[user-config.py]]</tt> {{green|#REQUIRED}}
*<tt>[[user-fixes.py]]</tt>
*<tt>[[user-fixes.py]]</tt>
*<tt>[http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia/families/README-family.txt yourWiki_family.py]</tt><noinclude> {{green|#REQUIRED}}</noinclude>
*<tt>[http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia/families/README-family.txt yourWiki_family.py]</tt><noinclude> {{green|#REQUIRED}}</noinclude>

Revision as of 10:19, 15 November 2010

Template:Pywikipediabot

Overview

Step Article
1. Install python 2.4 or newer (but not 3.x, because pywikipediabot is still not updated to it!)

2. Download pywikipedia. (code repository - nightly built release)

Installation
3. Add your wiki-family in folder /families, if not already present. (README-family)
4. Run generate_user_files.py to generate user-config.py and user-fixes.py.
5. Run login.py. That's it, you can run category.py to manage categories, template.py to manage templates, add_text.py to add footers, replace.py to fix some stuff such as adding wikilinks, and a lot more.

In summary users configure these three files: