MediaWiki:Gadget-hcaptchaLoader.js: Difference between revisions

Captcha testing
 
Captcha testing
Line 1: Line 1:
if (mw.config.get('wgNamespaceNumber') % 2 === 1) {
mw.loader.using('ext.confirmEdit.hCaptcha').then(function () {
    mw.loader.load('ext.confirmEdit.hCaptcha');
  console.log('hCaptcha module loaded by gadget');
}
});