Validates user signatures, checking for technical and policy issues
This tool consists of two parts: a webservice and a backend batch report runner.
On Toolforge, the repo is symlinked to ~/www/python/
To start the webservice, run webservice --backend=kubernetes python3.9 start
To stop the webservice, run webservice stop
On Toolforge, reports are run from a Kubernetes Job. A custom script is used to start the job. Any arguments passed to the start script will be passed to the report script.
See python3 src/sigprobs.py --help
for CLI details.
To create or update a report, run ./sigprobs_start.py <site>
For example, a report for the English Wikipedia can be run with ./sigprobs_start.py en.wikipedia.org
$ cd src/
$ pybabel extract -F babel.cfg -k N_ -o messages.pot . # Extract translatable strings
$ pybabel update -d translations/ -i messages.pot # Update existing message catalogs
$ pybabel init -i messages.pot -d translations/ -l <lang> # Create new message catalog
Update the translations in src/translations/<lang>/LC_MESSAGES/messages.po
$ pybabel compile -d translations