anticompositenumber / linkspam Goto Github PK
View Code? Open in Web Editor NEWCollects links to specified domains across Wikimedia wikis
Home Page: https://tools.wmflabs.org/linkspam/
License: Apache License 2.0
Collects links to specified domains across Wikimedia wikis
Home Page: https://tools.wmflabs.org/linkspam/
License: Apache License 2.0
It makes most sense to run linkspam jobs on the Grid, but grid jobs can't be started from k8s (where the webservice runs). Options:
Blocks AntiCompositeNumber/anticompositetools#1 and partially AntiCompositeNumber/anticompositetools#4
Toolforge provides a redis instance, which means that I could spin up Celery instead of using the grid.
Pro:
Con:
Questions:
https://flask.palletsprojects.com/en/1.1.x/patterns/celery/
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_continuous_jobs
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Redis_for_Toolforge
If I'm going to learn to SQL in #5, I might as well use it for report generation as well.
Timestamps should be displayed nicely, instead of as a raw ISO 8601 string. Relative dates are probably best for the front page, but I think I want locale-formatted dates on the report pages. In either case, the ISO string should be shown as a tooltip.
Currently in use are "new", "default", and "automatic". Manual reports will have statuses for recently created reports and stale reports.
Old manual reports should expire and be removed. Somewhere between 2 weeks and 1 month is probably a good balance between stability and staleness.
Reports with status "new" should be changed to "automatic" or the equivalent for manual jobs. #17 for what that should be.
Right now, only automatic reports are displayed. When manual reports are introduced, recent ones should also appear on the front page. Automatic reports should be more prominent.
The non-maintainer shutoff is currently a runpage on enwiki. Now that this tool doesn't have a static frontend, it would make sense to have this shutoff in the tool itself, if a shutoff is necessary at all.
It would be a good idea to hide it behind OAUTH though.
Even for automatic jobs, it would be helpful to not have to manually edit the JSON file. Saving should be limited to authenticated users (#9), and automatic jobs that aren't yet configured in cron should be marked as disabled.
Authentication to OAUTH should be required to submit a new job. Manual jobs can be submitted directly after authenticating, but automatic jobs require server-side action.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.