Skip to content

RheingoldRiver/sorcerer-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Example wiki creation / updating scripts, using mwcleric

SORCERER the game: https://sorcerer.river.me/

SORCERER wiki: https://sorcererbyriver.wiki.gg/wiki/Main_Page

Files included

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.

Test wiki

The scripts currently point to https://test.wiki.gg. This is a public test wiki that you can feel free to use for sandboxing!

Please fork this repo

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 ;)

Python wiki class

This wiki class has an example of me writing some Python code for a the ONI wiki

About

Create & update scripts for sorcererbyriver.wiki.gg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages