Index: trunk/extensions/Mibbit/Mibbit_body.php |
— | — | @@ -26,11 +26,11 @@ |
27 | 27 | 'server' => $wgMibbitServer, |
28 | 28 | 'channel' => $wgMibbitChannel |
29 | 29 | ); |
30 | | - if( $wgUser->isLoggedIn() ) $queryAssoc[ 'nick' ] = $wgUser->getName(); |
31 | | - if( $wgMibbitExtraParameters ) { |
| 30 | + if ( $wgUser->isLoggedIn() ) $queryAssoc[ 'nick' ] = $wgUser->getName(); |
| 31 | + if ( $wgMibbitExtraParameters ) { |
32 | 32 | $queryAssoc = array_merge( $queryAssoc, $wgMibbitExtraParameters ); |
33 | 33 | } |
34 | | - foreach( $queryAssoc as $parameter => $value ) { |
| 34 | + foreach ( $queryAssoc as $parameter => $value ) { |
35 | 35 | $query[] = $parameter . '=' . urlencode( $value ); |
36 | 36 | } |
37 | 37 | $queryString = implode( $query, '&' ); |
Index: trunk/extensions/Mibbit/Mibbit.i18n.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | To connect simply press the "Connect" button. |
19 | 19 | If you are logged in your nickname will have been prefilled. |
20 | 20 | Anonymous users are given an automatically generated one, but it can be changed.', |
21 | | - 'right-mibbit' => 'Allowed to use Mibbit chat', |
| 21 | + 'right-mibbit' => 'Allowed to use Mibbit chat', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | /** Message documentation (Message documentation) |
Index: trunk/extensions/Mibbit/Mibbit.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | /** |
5 | 4 | * Mibbit |
6 | 5 | * |
— | — | @@ -15,7 +14,7 @@ |
16 | 15 | */ |
17 | 16 | |
18 | 17 | // If this is run directly from the web die as this is not a valid entry point. |
19 | | -if( !defined( 'MEDIAWIKI' ) ) die( 'Invalid entry point.' ); |
| 18 | +if ( !defined( 'MEDIAWIKI' ) ) die( 'Invalid entry point.' ); |
20 | 19 | |
21 | 20 | // Extension credits. |
22 | 21 | $wgExtensionCredits[ 'specialpage' ][] = array( |
— | — | @@ -25,7 +24,7 @@ |
26 | 25 | 'descriptionmsg' => 'mibbit-desc', |
27 | 26 | 'author' => 'Robert Leverington', |
28 | 27 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Mibbit', |
29 | | - 'version' => '1.3.0', |
| 28 | + 'version' => '1.3.1', |
30 | 29 | ); |
31 | 30 | |
32 | 31 | // Register special page. |