Indic-TechCom/Tools/qrCodeGenerator

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


Main page

Tools

Requests

Management

Indic Wikimedia Portal

Talk

Installation and use of qrCodeGenerator

What it does[edit]

It provides you an option in your wiki's sidebar called "Genreate QR code" in toolbar section. This option will help you to gen QR code of the current page URL onwiki. And also you can download QR code in PNG format.

Features[edit]

  1. It uses Wikimedia's Modern UI library mw:OOUI.
  2. It does all process on the client side.
  3. We are not loading any external library/en:API. So there will no issue about privacy violation.

Installation[edit]

Add the following code to your wiki user's common.js or global meta's global.js page:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Indic-TechCom/Script/qrCode.js&action=raw&ctype=text/javascript');