Extension:QRCodeOnLoad

This extension codes the URL of the actual page into a QR-Code by using Google APIs and displays the QR-Code on the page. Everything happens on-load. So nothing is beeing uploaded or inserted in the article, except the parsing function.

Installation

 * 1) Copy&Paste the code of the latest version to your extensions folder \QRCodeOnLoad\QRCodeOnLoad.php.
 * 2) Insert the following line to your LocalSettings.php

Usage
Insert  into the article where you wish to see the URL as QR-Code. Without any parameters a 100pxx100px left floating QR-Code is generated. It is possible to set a custom size of the QR-Code with parameters.  would create a size of 250px

Information
I am neither a programmer, nor do I really understand PHP. I found some examples about how to create a QR-Code and put them together. With the example parser function of MediaWiki I created this extension. I basically created it for use in my intranet wiki installation. So if you have any suggestions or improvements, feel free to edit the code.

To Do
Possibly someone can help me out with some things:
 * How to display the QRCode in the sidebar
 * How to improve the layout of the QRCode Image, now it's limited to float left