A MediaWiki bot that tracks Arbitration Committee member activity in ongoing proceedings and publishes summary reports.
- Pulls the authoritative list of ArbCom members (active & inactive) from
Wikipedia:Arbitration Committee/Members - Reads a bullet-list of ongoing matters from a configurable page
- Tracks first comment time, last comment time, and comment count per arbitrator
- Publishes wiki-tables per proceeding with activity statistics
-
Create a conda environment:
conda create -n PendingMattersBot python=3.11 conda activate PendingMattersBot pip install -r requirements.txt
-
Copy
settings.json.exampletosettings.jsonand configure:cp settings.json.example settings.json # Edit settings.json with your credentials
-
Build the image:
docker build -t pendingmattersbot . -
Run the bot:
docker run -e BOT_USER=your_username \ -e BOT_PASSWORD=your_password \ pendingmattersbot
The bot is configured to run on Railway with a cron schedule. Required environment variables:
BOT_USER: Bot usernameBOT_PASSWORD: Bot passwordPROCEEDINGS_PAGE: Page containing the list of ongoing mattersTARGET_PAGE: Where to publish the report
Optional environment variables:
SITE: MediaWiki site (default: en.wikipedia.org)API_PATH: API path (default: /w/)USER_AGENT: Bot user agentCOOKIE_PATH: Path for cookiesRUN_INTERVAL: Run interval in seconds (default: 600)
MIT License