Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenux/wikibot-wpsk
https://github.com/eccenux/wikibot-wpsk
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eccenux/wikibot-wpsk
- Owner: Eccenux
- Created: 2022-05-14T18:51:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T21:41:53.000Z (10 months ago)
- Last Synced: 2024-03-11T01:24:35.013Z (10 months ago)
- Language: Python
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP:SK
Some cleanup scripts for plwiki articles etc.
Don't run scripts unless you have time fix things later.
## Requirements
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` and `user-password.py`.
See: [Pywikibot installation](https://doc.wikimedia.org/pywikibot/stable/installation.html).Check if pwb is working and get some info:
```
pwb -help
```
## Modules```
git submodule add "https://github.com/Eccenux/wikibot-utils.git" "utils"
```## Executing changes
1. You need a list of pages first.
2. Use the list to make a dry run via one of `execute--*.py`.
3. 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.