SemanticMediaWiki / SemanticSignup

Allows adding additional fields to the user registration form, which get placed on the new users' user page, as well as stored semantically.
https://www.mediawiki.org/wiki/Extension:SemanticSignup
Other
6 stars 3 forks source link

Captcha supported? #21

Open mwjames opened 9 years ago

mwjames commented 9 years ago

Code in SES\SignupFieldsParserFunction suggests that Captcha is supported.

        // Give authentication and captcha plugins a chance to modify the form
        $type = 'signup';
        $wgAuth->modifyUITemplate( $this->userFieldsCreateTemplate, $type );

        if( Settings::get( 'useCaptcha' ) && isset( $GLOBALS['wgCaptchaClass'] ) ) {
            $captchaObject = new $GLOBALS['wgCaptchaClass'];
            $captchaObject->injectUserCreate( $this->userFieldsCreateTemplate );
        }

@kghbln @toniher Does this actually work?

toniher commented 9 years ago

It's not working properly. If 'ConfirmEdit' is enabled (tested with SimpleCaptcha), it would seem that Captcha is there but you cannot view it, so you cannot sign up.

kghbln commented 9 years ago

Affirmative, the CAPTCHA does not show up.

mwjames commented 9 years ago

@toniher If you feel up for the job, I'd say go ahead.

toniher commented 9 years ago

I'll make a try!

fmalvisi commented 8 years ago

Hey, we have a MediaWiki 1.25 with Semantic Maps 3.2 and Maps 3.4 and we are having the same issue when trying to use ConfirmEdit, is there a solution or any workarounds available for this issue?