Index: trunk/extensions/QrCode/QrCode.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | $wgExtensionCredits['parserhook'][] = array( |
24 | 24 | 'path' => __FILE__, |
25 | 25 | 'name' => 'QrCode', |
26 | | - 'version' => '0.01', |
| 26 | + 'version' => '0.02', |
27 | 27 | 'author' =>'David Raison', |
28 | 28 | 'url' => 'http://www.mediawiki.org/wiki/Extension:QrCode', |
29 | 29 | 'descriptionmsg' => 'qrcode-desc' |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | |
37 | 37 | function efQrcodeSetup(){ |
38 | 38 | global $wgParser; |
39 | | - $wgParser->setFunctionHook( 'qrcode', array(new QrCode, 'showCode' )); |
| 39 | + $wgParser->setFunctionHook( 'qrcode', array(new MwQrCode, 'showCode' )); |
40 | 40 | } |
41 | 41 | |
42 | 42 | function wfQrCodeLanguageGetMagic( &$magicWords, $langCode='en' ) { |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $wgQrCodeBoundary = 2; // boundary around square |
51 | 51 | $wgQrCodeBot = 'QrCodeBot'; |
52 | 52 | |
53 | | -class QrCode { |
| 53 | +class MwQrCode { |
54 | 54 | |
55 | 55 | private $_dstFileName; // what the file will be named? |
56 | 56 | private $_label; // What will the qrcode contain? |