Index: trunk/extensions/ConfirmEdit/ReCaptcha.php |
— | — | @@ -25,6 +25,7 @@ |
26 | 26 | $recaptcha_public_key = '';
|
27 | 27 | $recaptcha_private_key = '';
|
28 | 28 |
|
| 29 | +$wgExtensionFunctions[] = 'efReCaptcha';
|
29 | 30 |
|
30 | 31 | /**
|
31 | 32 | * Make sure the keys are defined.
|
— | — | @@ -35,7 +36,7 @@ |
36 | 37 | global $wgServerName;
|
37 | 38 |
|
38 | 39 | // Backwards compatibility
|
39 | | - $wgReCaptchaPublicKey == '' ) {
|
| 40 | + if ( $wgReCaptchaPublicKey == '' ) {
|
40 | 41 | $wgReCaptchaPublicKey = $recaptcha_public_key;
|
41 | 42 | }
|
42 | 43 | if ( $wgReCaptchaPrivateKey == '' ) {
|