Some cleanup scripts for plwiki articles etc.
Don't run scripts unless you have time fix things later.
Scripts use globally installed Pywikibot (PWB). You must install and configure it.
- You should have a bot user.
- Install Python (tested with Python 3.10).
- Install PWB with
mwparserfromhell
. - Prepare auth in
user-config.py
anduser-password.py
.
See: Pywikibot installation.
Check if pwb is working and get some info:
pwb -help
git submodule add "https://github.com/Eccenux/wikibot-utils.git" "utils"
- You need a list of pages first.
- Use the list to make a dry run via one of
execute--*.py
. - Make a non-dry run to make changes in articles.
Note that you might need to prepare new execute--*.py
or modify the custom one with a simple, one-time change.