Following up on Someone Should: Create QR codes for equipment
As I was doing some security updates on the r.vanhack.ca (repo) software, I got a sudden itch to get something, or rather some things, off of my (mental) backlog.
Because we use dokuwiki and it’s running under the main website, as well as a redirection system from wiki.vanhack.ca to the actual wiki URL, I figured that I’d finally implement page redirection from wiki.vanhack.ca/ to the wiki. And while I had already previously added QR code generation to r.vanhack.ca, I remembered that @mikepkes had also made a QR code generator that looked a little bit nicer.
Ended up spending a few hours yesterday to implement that.
So, how does this work?
Example:
The Tinkerine Ditto Pro has a wiki page:
https://vanhack.ca/doku.php?id=tool:dittopro
The page id being: tool:dittopro
https://wiki.vanhack.ca/tool:dittopro will automatically redirect you to the relevant page.
And https://wiki.vanhack.ca/tool:dittopro/qr (notice the /qr at the end) will then take you to a page that will show you @mikepkes’s nicely formatted design:
Source is at GitHub - vhs/wiki-redirector: Wiki Redirector (with QR code generator)