Wolfite.dev / Highlights

Obby Wiki

WikiWire v0.6.0 released

Obby WikiMediaWiki

WikiWire v0.6.0 introduces new features and a substantial fix that should result in a noticeable improvement in QoL.

Exponential backoff

Failed requests with non-terminative errors are now retried with exponential backoff. This means that one-time and temporary errors don't stop a workflow from finishing.

And, if a terminative (or a fatal) error occurs, WikiWire will continue syncing the rest of the files that can be synced, before triggering the error so you know what's happened and can fix it.

Visual improvements on outputs

Speaking of errors and debugging, outputs are now drastically improved visually.

Terminal window
WikiWire: syncing edit 1/2 MediaWiki:Templatedata-doc-subpage on obbywiki
└─ updated MediaWiki:Templatedata-doc-subpage on obbywiki
WikiWire: syncing edit 2/2 Module:ObbyGameInfobox on obbywiki
└─ updated Module:ObbyGameInfobox on obbywiki

This makes it much easier to keep track of what's happening. Please note that it is likely your client will not use colors.

Commits and attributions

WikiWire can now (optionally) include commit attributions when triggered from a push, including both the GitHub username of the account that caused the sync by pushing, as well as the first seven letters of the commit SHA.

Terminal window
"WikiWire: sync modules/example.com/ModuleName/ModuleName.module.lua (User, c177963)"

To opt-in and enable this feature, you can add the following line into your wikiwire.toml file:

wikiwire.toml
version = 1
shared = true
common = true
ignore_content_model_errors = true
delete_removed = true
push_attribution = true
[[sites]]
id = "obbywiki"
host = "obby.wiki"
api = "https://obby.wiki/api.php"
default_branch = "main"
css_content_model = "css"
common = true

Better support for nested files

Additionally, WikiWire v0.6.0 introduced better support for nested files. Files that are nested under each other should now resolve to paths consistently and correctly, allowing for support of complex files.

wikiwire.yml
- uses: obbywiki/[email protected]
- uses: obbywiki/[email protected]