Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.
UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.
Manual talk:Speed guide for pywikipediabot
Help Please
I have a wiki name mywiki and I would like to run some of the python bots and I am not sure how to do this... This is what I have done so far.
install python download the python bots.
How do I tell it to run on mywiki.
Thanks -- 12.146.131.5 01:20, 3 April 2008
To initially set up the robot, you'll need to create two files:
- A family file, which contains a list of wikis on which the 'bot is to operate. This file specifies the addresses of your wiki on the Internet, a list of languages and namespaces as well as locations of key individual portions of your site (such as index.php and api.php). The pywikipedia distribution includes many example files, such as Uncyclopedia_family.py for the (currently fifty-one) languages in Uncyclopedia. If you have one individual wiki only, create a drastically stripped-down version of this file (as mywiki_family.py, for example) with the one language your wiki is currently using.
- A user-config.py file, an example of which (config.py) is also included with the pywikipedia package. This file contains the username which your robot uses to edit the wiki(s), the name of the family file (created above) and some information on which character set to use. For example, to tell a robot to edit Uncyclopedia (Desciclopédia Brazil, 偽基百科 Taiwan) as Hymie the robot the user-config.py would be:
family = 'uncyclopedia' mylang = 'pt' console_encoding = 'utf-8' usernames['uncyclopedia']['pt']='Hymie le robot' usernames['uncyclopedia']['zh-tw']='Hymie le robot'
Once you have these two files, you should be able to use python login.py to attempt to log the robot into the wiki and python testfamily.py to verify that your configuration is correct. --Carlb 02:13, 3 April 2008 (UTC)
Client-side login
I'm trying to use client-side login to use my bot, yet I'm getting a 403 error. What do I have to do to remedy this?72.186.220.130 19:27, 9 January 2010 (UTC)
Help me
I want to use the random mode in welcome.py but I dont know how to create the random user list for signature. Somebody can help me to insert the following code? <pre> * [[User:tranletuhan|tranletuhan]] * [[User:DHN|DHN]] </pre>
This code is wrote in the welcome.py or separate file? Thank you for your help! --Tranletuhan 09:20, 22 February 2010 (UTC)