Automatic QR code tool for Wiki entries

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:

image

Source is at GitHub - vhs/wiki-redirector: Wiki Redirector (with QR code generator)

6 Likes

One good thing to come out of this pandemic is that people actually know wtf a QR code is now

4 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.