Index: trunk/extensions/SimpleFarm/SimpleFarm_Classes.php |
— | — | @@ -342,13 +342,14 @@ |
343 | 343 | if( in_array( $address, $member->getAddresses() ) ) { |
344 | 344 | // if script path is required, then check for it too: |
345 | 345 | if( $scriptPath !== null ) { |
346 | | - if( trim( $scriptPath ) === $member->getScriptPath() ) |
| 346 | + if( trim( $scriptPath ) === $member->getScriptPath() ) { |
347 | 347 | return $member; |
348 | | - } else { |
| 348 | + } |
| 349 | + } |
| 350 | + else { |
349 | 351 | return $member; |
350 | 352 | } |
351 | 353 | } |
352 | | - |
353 | 354 | } |
354 | 355 | return null; |
355 | 356 | } |
Index: trunk/extensions/SimpleFarm/SimpleFarm.i18n.php |
— | — | @@ -16,12 +16,12 @@ |
17 | 17 | * @author Daniel Werner |
18 | 18 | */ |
19 | 19 | $messages['en'] = array( |
20 | | - 'parserfun-desc' => 'Simple, yet powerfull wiki farm extension without any fancy configuration pages.', |
| 20 | + 'simplefarm-desc' => 'Simple, yet powerfull wiki farm extension without any fancy configuration pages.', |
21 | 21 | ); |
22 | 22 | |
23 | 23 | /** German (Deutsch) |
24 | 24 | * @author Daniel Werner |
25 | 25 | */ |
26 | 26 | $messages['de'] = array( |
27 | | - 'parserfun-desc' => 'Einfache, jedoch trotzdem mächtige Wiki-Farm-Erweiterung ohne großartige Konfigurations-Seiten.', |
| 27 | + 'simplefarm-desc' => 'Einfache, jedoch trotzdem mächtige Wiki-Farm-Erweiterung ohne großartige Konfigurations-Seiten.', |
28 | 28 | ); |
Index: trunk/extensions/SimpleFarm/SimpleFarm.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | /* |
45 | 45 | * It's no good, at that stage it is too late to set some global variables like $wgScriptPath |
46 | 46 | * because some others depend on it and being set at the beginning of setup.php after default |
47 | | - * settings and LocalSettings are loaded. |
| 47 | + * settings and LocalSettings are loaded. |
48 | 48 | * That's also why we can't rely on global functions including hook an message system! |
49 | 49 | */ |
50 | 50 | // make sure to initialise farm if not manually in 'LocalSettings.php': |