Index: trunk/extensions/QrCode/QrCode.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | */ |
19 | 19 | |
20 | 20 | if ( !defined( 'MEDIAWIKI' ) ) |
21 | | - die( 'This is a MediaWiki extension, and must be run from within MediaWiki.' ); |
| 21 | + die( 'This is a MediaWiki extension, and must be run from within MediaWiki.' ); |
22 | 22 | |
23 | 23 | $wgExtensionCredits['parserhook'][] = array( |
24 | 24 | 'path' => __FILE__, |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | $parser = array_shift($params); |
78 | 78 | |
79 | 79 | foreach( $params as $pair ) { |
80 | | - $rpms = explode( '=', $pair ); |
| 80 | + $rpms = explode( '=', $pair ); |
81 | 81 | if( $rpms[0] == 'ecc' ) $this->_ecc = $rpms[1]; |
82 | 82 | if( $rpms[0] == 'size' ) $this->_size = $rpms[1]; |
83 | 83 | if( $rpms[0] == 'boundary' ) $this->_boundary = $rpms[1]; |
— | — | @@ -126,8 +126,8 @@ |
127 | 127 | * @return user object |
128 | 128 | * */ |
129 | 129 | private function _getBot(){ |
130 | | - global $wgQrCodeBot; |
131 | | - |
| 130 | + global $wgQrCodeBot; |
| 131 | + |
132 | 132 | // there doesn't seem to be a decent method for checking if a user already exists... |
133 | 133 | $bot = User::createNew( $wgQrCodeBot ); |
134 | 134 | if( $bot != null ){ |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | $bot->addGroup( 'bot' ); |
141 | 141 | |
142 | 142 | return $bot; |
143 | | - } |
| 143 | + } |
144 | 144 | |
145 | 145 | /** |
146 | 146 | * Handle mediawiki file repositories |