Page MenuHomePhabricator

Enable QRLite Extension in Bengali Wikisource
Open, Stalled, LowestPublic

Description

Enable QRLite Extension in Bengali Wikisource.

Community Discussion - Link

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 10 2017, 1:34 PM
Aklapper changed the task status from Open to Stalled.Jul 10 2017, 2:43 PM

The QRLite extension is not deployed yet on any Wikimedia sites.
It will have to go through all steps listed on https://www.mediawiki.org/wiki/Review_queue before it can be deployed.
@Bodhisattwa: Feel free to create the corresponding required tasks which need to be performed first, and make those tasks a subtask of this very task.
Hence I'm setting the status of this task to "stalled".

Urbanecm triaged this task as Lowest priority.Jul 10 2017, 7:17 PM
Urbanecm added a subscriber: Urbanecm.

Also making this as Lowest priority from the same reason.

This very task is unrelated to the MediaWiki-extensions-QRLite codebase itself and just about configuration of some Wikimedia servers. Hence removing that tag.

Reedy added a subscriber: Reedy.Jul 11 2017, 6:56 PM

I'm confused as to what the extension is actually wanted for. What is the problem it's trying to solve?

@Reedy: A rendering of the first part of @Bodhisattwa's community notice:

Hello,
In order to have Wikisource reach more people, I'd like to serve QR codes on this site. We can take these QR codes we make linking to any work and then distribute them among common readers in a library or somewhere else so we can increase Wikisource's exposure. For this I found some MediaWiki extensions. Unfortunately their current state isn't able to be made known.

Reedy added a comment.Jul 11 2017, 7:07 PM

I did Google translate it, but it didn't really help.

What's the advantages of using an extension, over say, just putting the URL on a site like http://goqr.me/ and getting an image?

Well, I'm not really a fan of QR codes. How do we know that there's no scam/phishing/attack site behind that QR code?

Reedy added a comment.Jul 11 2017, 7:10 PM

Well, I'm not really a fan of QR codes. How do we know that there's no scam/phishing/attack site behind that QR code?

Render in the clear text at the bottom of the image or something similar.

Aklapper changed the status of subtask T170188: Create a project for MediaWiki extension QRLite from Resolved to Declined.Jul 11 2017, 7:38 PM

@Reedy, @MarcoAurelio As I was not then subscribed to the wikisource-l mailing list, only now did I find this thread detailing more of @Bodhisattwa's motivations.

demon added a subscriber: demon.Nov 23 2017, 2:25 AM

I didn't review the underlying library, but couple of big things jump out with the extension itself:

  • There's no caching of the generated data. At all. Every page render will result in creating a file on disk, only to toss the data
  • The extension is on Github. We don't deploy from Github
  • Because of that, it lacks any translation support
  • I think there's an HTML injection risk in the extension, considering the alt text is set to the raw content.
  • Inlining SVG content sounds mildly dangerous -- especially without better review of the underlying library

Considering the above, the fact that we've only got one wiki requesting it, and it's dubious utility to begin with I'm inclined to deny this.

If the OP is wanting to generate QR codes for individual pages on-wiki there's plenty of tools to do this and then pass said codes onto a library. Being able to generate them inline on a page isn't all that terribly useful for the proposed usecase imho. I think a tool in Toolforge would be far better suited.