Git Product home page Git Product logo

jjmc89-bot-scripts's Introduction

pre-commit.ci status

jjmc89-bot-scripts

Various bot scripts

Installation

git clone ...
pip install -r requirements.txt

jjmc89-bot-scripts's People

Contributors

dependabot[bot] avatar jjmc89 avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jjmc89-bot-scripts's Issues

[Request] CSD-G6 unused BSicon redirects

It would be nice if it were possible for redirects not used outside the User namespace on any WMF wikis and not contained in any of the exception categories to be automatically tagged for speedy deletion under criterion G6. Currently I manually filter the complete list every few months using BBEdit, a Quarry query and PetScan queries.

No redirects are being replaced

There are several redirects in use at w:en:Template:RTD expansion map. They should have been replaced by May 23, but it appears that no redirects are currently being replaced. As I mentioned in a comment on #28, this may be due to the length of the redirect list, which could be split into two pages based on page ID (to avoid diagrams being edited multiple times after a page move) such that the lists are to be used for redirect replacement on different days.

Alternately, unused redirects (defined as "unused outside the User: namespace on all WMF wikis") could have their own list, and those could be sorted out of the replacement list. I have been using this Quarry query manually and using BBEdit to successively filter the complete list of redirects, but it would be nice if your bot could generate the list by itself.

(It would also help to filter out redirects which should never be replaced from the wikitext lists, and maybe the list of exceptions could be kept in some other list. None of this is really necessary, since I only mass-nominate pages for deletion once every few months. However, the bot could itself tag pages with CSD G6, since it has been suggested that I do not need to go through the regular deletion process to uncontroversially delete redirects.)

File names in galleries are not replaced

Galleries omit "File:". This seems to stop BSicons from being replaced; "BSicon $1.svg" should be replaced. Almost all usage in galleries is in bot-generated user pages.

[bsicons_replacer] Replace file syntax

I tried loading all the redirects into CommonsDelinker's replacement page a while ago. It didn't work on a lot of pages (and also caused the replacement list to exceed the MediaWiki parser's transclusion limit), so I suppose the solution is to replace regular file syntax using the script as well.

[request] Allow BSicon replacement without a config

Could the current English Wikipedia settings be used as default if there isn't a config found? It would let me focus more on translating the edit summary instead of copying and pasting the same list of templates.

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.