Last modified: 2013-09-23 12:13:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56459, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54459 - Tiny url like system for Wikimedia sites
Tiny url like system for Wikimedia sites
Status: RESOLVED DUPLICATE of bug 42085
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-23 02:40 UTC by とある白い猫
Modified: 2013-09-23 12:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description とある白い猫 2013-09-23 02:40:05 UTC
I'd like to propose a schema for a redirect system for all Mediawiki sites for improved QR code compatibility. My proposal has several parts.

Version 1 is the simplest QR code variant with 21x21 ROWxCOL's. With high error correction this allows a total of 17 (30% correction)/27 (25% correction) alpha-numeric characters (0 to 9, A to Z,
space, $ % * + - . / :). Version 2 25x25 with 34 (30% correction)/48 (25% correction).

Article titles can be light years long so a shorter redirect would be helpful. However even something as simple as http://r.wikimedia.org/ has 13 characters to begin with. I don't know if enwp.org is under WMF control but http://r.enwp.org/ would be 18 characters. The remaining characters would be used for the redirect itself.

Each page on wikis have a page ID, a decimal value. However these on some wikis can get fairly large. En.wp has 40,592,460 pages for example. This can however be expressed in base 36 since QR codes will have to be alpha-numeric anyways. So instead of 8 base 10 digits same number would be expressed with 5 base 36 digits (O61CC).

Furthermore with an encoding of something like PLLCCCCCC 9 characters would be enough to determine the Project (Wikipedia, Wikinews, Wikisource, etc - 36 total projects), Language (en, fr, es, ru, etc - 36 * 36 = 1296 languages), Code-word for Article ID (36^6=2,176,782,336 possible IDs).

So... Possibly with http://r.enwp.org/PLLCCCCCC 27 characters would fit 25% correction version 1 scheme.

Once this is implemented perhaps WMUK's QRpedia may be easier to implement.

This relates to: https://www.wikidata.org/wiki/Wikidata:Project_chat#Article_specific_QR_codes

I realize the above link may become obsolete with archiving... :p
Comment 1 MZMcBride 2013-09-23 02:45:53 UTC
Presumably this bug is related to bug 30861 and bug 42085.

I believe you should draft an [[mw:RFC]] if you're serious about pursuing this idea.
Comment 2 とある白い猫 2013-09-23 03:30:12 UTC
Certainly. Thank you for sharing the two bugs. I will make use of them on my RFC posting.
Comment 3 とある白い猫 2013-09-23 04:05:01 UTC
Proposed: https://www.mediawiki.org/wiki/Requests_for_comment/URL_shortening_system_for_Wikimedia_sites_to_support_QR_codes Feel free to comment & critique the proposal.
Comment 4 Nemo 2013-09-23 05:55:16 UTC
(In reply to comment #1)
> Presumably this bug is related to bug 30861 and bug 42085.

Or rather, it's a sure duplicate. Like all the sibling bugs, it doesn't yet provide requirements or at least conclusions on what sort of software it would need (e.g. why not Shorturl, after some UI cleanup?).
Comment 5 Andre Klapper 2013-09-23 12:13:17 UTC
I fail to see the big difference to bug 42085 here, hence marking as a dup.

*** This bug has been marked as a duplicate of bug 42085 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links