Example wiki creation / updating scripts, using mwcleric
SORCERER the game: https://sorcerer.river.me/
SORCERER wiki: https://sorcererbyriver.wiki.gg/wiki/Main_Page
create.py is an example new-page-creation script.
update.py is an example wiki updating script.
Because there may be user content that you don't want to overwrite (e.g. trivia, strategy sections, etc) a different method is needed for updating.
For the sake of example, these two scripts are self-contained, but in reality you would probably want much of the logic to be handled in a shared formatter class.
The scripts currently point to https://test.wiki.gg. This is a public test wiki that you can feel free to use for sandboxing!
If you are going to base your own create/update scripts on this repo, please fork it instead of making a new repo! This way, the list of forks will be useful to people. You could also consider submitting a PR with a link to your repo in the README of example_wiki_scripts.
You could also star it ;)
This wiki class has an example of me writing some Python code for a the ONI wiki