Extension:QrCode

Description
Generates qrcodes on the fly.

Requirements

 * libqrencode
 * PHP5
 * PHP GD2 extension with JPEG and PNG support
 * phpqrcode (see Download section)

Download
Please stand by as the code is being deployed.

Installation
Place the QrCode directory within the main MediaWiki 'extensions' directory. Extract the phpqrcode library inside that same directory, so that your directory structure will end up looking like this:

extensions/ |     - QrCode/ |          - QrCode.php - phpqrcode/

Then, in the file LocalSettings.php in the main MediaWiki directory, add the following line:

Settings
The following settings are optional:

$wgQrCodeECC = 'M';    // L,M,Q,H $wgQrCodeSize = 4;     // pixel size of black squares $wgQrCodeBoundary = 0; // margin around qrcode $wgQrCodeBot = 'QrBot'; // name of bot that generates codes (If this user doesn't exist, it will be created)

Release Notes

 * 0.01 - Initial release.

Todo

 * Update (i.e. replace) the image file when the QrCode arguments (ecc,size,boundary) change