Skip to content

4shadoww/stabilizerbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stabilizerbot

Current state: "As you may be able to tell from the source code, this code base is outdated and was not very good to begin with. Without having any interest in doing rewrite, this remains on life support just to keep it running."

Stabilizerbot is a bot for mediawiki FlaggedRevs extension that stabilizes articles automatically when specific rules are met.

Dependencies

Requires Python 3.10. Python dependencies are the following: sseclient and mwapi. It's recommended to use the latest version of mwapi from Github and to not install it from pypi since it has not been updated in years.

Rules

List of rules:

  • Anonreverts
  • Abusefilters
  • Greylist
  • Whitelist
  • ORES

Installing

Recommended way to download stabilizerbot is to do it using Git, so you can keep it updated easily. Download over http:

git clone https://github.com/4shadoww/stabilizerbot.git

Download over ssh:

git clone git@github.com:4shadoww/stabilizerbot.git

Running stabilizerbot is pretty straightforward:

./stabilizer.py

But before running you should configure your bot correctly and create user_config.py for username and password.

Configuration

First you should create user_config.py:

username = "myUsername"
password = "myPassword"

Core config will be created when bot will be runned first time to "config.json". Note on first run bot only creates the configuration file. From there set "lang" variable to match your language and do localization to "core/dict.json".

Testing

You can test bot safely without actually stabilizing articles by setting "test" option in "config.json" to "True".

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published