Only you can help us build a free scout media repository!
Please create an account to start uploading your images now.

ScoutMedia:Bot configuration

From ScoutMedia, the free scout media repository

Here are the text of the configuration files which have to be used on the bots used on the ScoutWiki network scouting wikis.

Those scripts are now ready only for use on PartioWiki, Scoutopedia and PfadiWiki, but can easily be changed to fit any new Scouting Wiki whose member would like to use a bot on.

user-config.py

family                 =  'scoutwiki'
mylang                 =  'fr' #Put here the code of the main language you will use your bot on ; here it's fr for French.

usernames['scoutwiki']['fr'] =  'French name of the Bot'
usernames['scoutwiki']['fi'] =  'Finnish name of the Bot'
usernames['scoutwiki']['de'] =  'German (PfadiWiki) name of the Bot'

When using login.py, the -lang:XX option has to be used :

  • ~$ python login.py -lang:fr for loging in on Scoutopedia
  • ~$ python login.py -lang:fi for loging in on PartioWiki
  • ~$ python login.py -lang:de for loging in on Pfadiwiki

And do the same lines for every wiki you plan to use your bot on.

When using interwiki.py, the same option is used to tell the bot on which wiki he's got to work first, he'll then check all the pages on that wiki, and after that, if needed, modify the linked pages on the other wiki to have those linked to the first. If this option is not used, the bot will use its main language as defined by mylang = 'xx'.

Of course, the bot has to be loged on each wiki you want it to be able to write on ...

scoutwiki_family.py

This script has to be placed in the /families/ directory of your bot.

Scoutwiki family.py