mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Fix usage of stringified class name
Change-Id: I626a61fd122361dff7ba6e9422f757347090ae41
This commit is contained in:
parent
608dda6ab5
commit
28e07c225e
|
@ -11,7 +11,7 @@ class ReCaptchaNoCaptchaHooks {
|
|||
global $wgReCaptchaSiteKey;
|
||||
global $wgCaptchaClass;
|
||||
|
||||
if ( $wgCaptchaClass === 'ReCaptchaNoCaptcha' ) {
|
||||
if ( $wgCaptchaClass === ReCaptchaNoCaptcha::class ) {
|
||||
$vars['wgConfirmEditConfig'] = [
|
||||
'reCaptchaSiteKey' => $wgReCaptchaSiteKey,
|
||||
'reCaptchaScriptURL' => 'https://www.recaptcha.net/recaptcha/api.js'
|
||||
|
|
Loading…
Reference in a new issue