GithubHelp home page GithubHelp logo

operator873 / gstools-deprecated Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 53 KB

This is a Sopel IRC Bot module which supports Wikimedia Global Sysops

License: MIT License

Python 100.00%
python python3 sopel sopel-modules sopel-plugin wikipedia wikimedia wikipedia-api wikimedia-tools

gstools-deprecated's Introduction

GStools

GitHub issues GitHub forks GitHub stars GitHub license GitHub All Releases GitHub contributors

This was a Sopel IRC Bot module which supports Wikimedia Global Sysops.

This plugin is now deprecated and unmaintained. Please see https://github.com/Operator873/CabalBot for the most recent interation.

The bot functions to assist Global sysops in checking the Category for speedy deletions across any and all Wiki?edia projects. The bot can report those articles found in the categories to an IRC channel or on their talk page at meta.wikimedia.org.

Dependencies

This module requires Python3.x and libraries: json, requests, time, random, sqlite3, urlparse, and OAuth1.

WYSIWYG

I'm not a professional programmer. At best, I think of myself as a Python hacker. Everything I write is pretty muched a hack job. If you notice something that could be improved or fixed, please either fix it, or open an issue for me to fix it. Thanks.

Installation

  1. Add the GStools.py and the wiki.db files in /path/to/.sopel/modules/
  2. Add "enable = GStools" to /path/to/.sopel/YourBot.cfg
  3. Restart your bot.

Commands

  • !update project1 project2 project3 ...

    • Queries the projects and reports the articles listed for quick deletion on your metawiki talk page.
  • !add project https://some.url Category:The speedy deletion cateogry

    • Add a new project to the database for future use
  • !onirc project

    • Only supports one project at a time to prevent flooding. Reports articles listed for quick deletion in the channel requested.
  • !idwiki project

    • Returns the project's api url and category saved in the database.
  • !csrf

    • Debug function. Attempts to login to metawiki and obtain a csrf token
  • !rewrite project

    • Rewrites the indicated project's api url and category in the database. Useful for correcting typos.
  • !randomwiki

    • Selects a random wiki from the database and returns it to the user
  • !authnick ircNick accountName

    • Associates the nick with the provided account name and permits access to the commands.
  • !idnick ircnick

    • Checks the database for an account associated with the provided IRC nick.
  • !rmvnick accountName

    • Removes all IRC nicks associated with the provided account.
  • !newpages project

    • Reports first 4 new pages on a project. Useful for tracking spam.

gstools-deprecated's People

Contributors

operator873 avatar

Watchers

 avatar  avatar

gstools-deprecated's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.