Free Knowledge Portal
The existing QR-encoding tool, QRpedia, allows GLAM instituations, other organisations, or anyone else create a QR code for a Wikipedia article. The QR code is generated based on the article title in a specific primary language. These QR codes can be placed in a relevant physical location, printed on handouts, or otherwise mad available so that members of the public can scan them, and get more information from the Wikipedia article.
The problems, per the wishlist proposal, include:
- Articles can be renamed, breaking the links (e.g. "Foo" is renamed to "Foo (disambiguated)").
- Only Wikipedia articles can be accessed from the QR codes, despite the wealth of relevant information that might be available in sister projects like Wikivoyage and Wikisource.
- QR codes for non-Latin languages are very large and more difficult to use (example)
The solution to all those problems is to use Wikidata:
- Wikidata item ids are stable, and don't change when pages are moved. If Wikidata items are merged into another item, a redirect is left behind which can be followed.
- Wikidata item ids store site links to Wikimedia projects. These can be presented to end-users as a portal, so they can choose which of the available wikis to go to, rather than just Wikipedia
- The length of the url encoded in the QR code is determined by the Wikidata item id, not the page title, so you don't need huge QR codes for non-Latin languages.
- Since links are displayed in a portal page, rather than just redirected to Wikipedia, the portal can also show:
- Related items (items that link to the subject item)
- Nearby items (for items which have coordinates specified)
- External identifiers (such as those for GLAM partner institutions)
- Responsive design that adapts to mobile, tablet, and desktop views
- Language switcher that not only translates the interface, but also changes the site links to that language version of the site (e.g. French Wikipedia when the language selected is French)
- Automatically detects device language, and uses that language by default
- Backwards-compatible with existing QRpedia codes, by using a page title and site to determine the relevant Wikidata item id. (But of course its up to the QRpedia people to redirect the codes to these urls if they choose to)
Planned future featuresEdit
- Links to load more related items, nearby items, and identifiers (currently limited to 3 items each)
- Keep a record of page visits, which could then be visualised into graphs and the like.
- Boston (d:Q100), using your device's language:
- Boston (Q100), using French:
- Boston (Q100), using Spanish:
- Backwards-compatible url for w:en:Boston on English Wikipedia
To generate a QR code, go to https://tools.wmflabs.org/portal and enter a Wikidata item id.
Suggestions, other feedback, and code patches (including translations) would be appreciated: either directly on Github, or on this page's talk page.