Skip to content

Create & update scripts for witchfire.wiki.gg

Notifications You must be signed in to change notification settings

Sabcoll/witchfire-wiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If you download this repo, don't forget to include the wiki_account_me.json in your .gitignore!

ORIGINAL

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.

About

Create & update scripts for witchfire.wiki.gg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%