Jump to content

Indic-TechCom/Tools/IndicBot

From Meta, a Wikimedia project coordination wiki

Main page

Tools

Requests

Management

Indic Wikimedia Portal

Talk

IndicBot is a simple python based collection of scripts that automate work on MediaWiki sites.

Components

[edit]

Two master folders are present in the IndicBot:

  • botscripts contains all bot related files that will use to interact with Wiki.
  • scripts contains already written scripts. that can use directly by the user.

Usages

[edit]
  1. Install python 3.X
  2. Clone repo: https://github.com/indictechcom/IndicBot.git or download it.
  3. Open CMD or Terminal and type cd IndicBot and then hit Enter.
  4. type pip install -r requirements.txt and then hit Enter.
  5. edit config.py to add your wiki and username
  6. Run Script by python3 bot.py scriptname

List of Current Scripts

[edit]
  1. template_subs - To add or replace Template's parameter value from Excel sheet. (more)
[edit]
  1. https://phoenixnap.com/kb/how-to-install-python-3-windows