Jump to content

Extension talk:ConfirmAccount/2024

Add topic
From mediawiki.org


Special:RequestAccount on Special:Login

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I installed this on dcwwiki.org to stop direct account creations. However, since the extensions requires $wgGroupPermissions['*']['createaccount'] = false; inorder to work, it removes the Special:CreateAccount link from login page. Is there a way around to have Special:RequestAccount link included on the Login page. Best regards, Aafi (DCW) (talk) 13:55, 19 February 2024 (UTC)Reply

You could edit your MediaWiki:Loginprompt page, add there a link to Special:RequestAccount Escalatr (talk) 08:54, 30 August 2024 (UTC)Reply
Special:RequestAccount doesn't seem to exist on our website. Aafi (DCW) (talk) 10:35, 31 August 2024 (UTC)Reply
Special:RequestAccount is provided by Extension:ConfirmAccount. InkluPedia (talk) 14:36, 18 October 2024 (UTC)Reply
Awesome. I have added the Extension and this seems to help. Aafi (DCW) (talk) 13:47, 19 October 2024 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

confirmaccount-welc: template transclusion on user account confirmation

[edit]

Is it possible to transclude, not substitute, templates specified in the confirmaccount-welc message on confirming a user account? 91.201.234.159 (talk) 07:43, 29 February 2024 (UTC)Reply

User::isBlockedFromCreateAccount() deprecated

[edit]

In an docker environment of mediawiki 1.43 when installing the extension I get this error: /wiki/Special:RequestAccount Error: Call to undefined method MediaWiki\User\User::isBlockedFromCreateAccount()

It seems that the method has been deprecated. C holtermann (talk) 11:16, 7 May 2024 (UTC)Reply

It works to replace "$block = $user->isBlockedFromCreateAccount();" with "$block = MediaWikiServices::getInstance()->getBlockManager()->getCreateAccountBlock( $user, RequestContext::getMain()->getRequest(), true );" in includes/backend/ConfirmAccount.class.php line 319 (taken from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaEvents/+/965269/2/includes/BlockMetrics/BlockMetricsHooks.php#16) C holtermann (talk) 21:00, 25 June 2024 (UTC)Reply
Feel free to submit that patch to Gerrit. This extension does not seem to be very actively maintained here. * Pppery * it has begun 21:05, 25 June 2024 (UTC)Reply
Thank you for the feedback. I am not involved with gerrit so I don't know if I am willing to find out how to submit patches there just now. C holtermann (talk) 22:15, 25 June 2024 (UTC)Reply

Special:CreateAccount circumvents extension

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Today I installed this extension in my wiki. Thank you very much for this helpful extension. I recognized that this extension can be circumvent by opening Special:CreateAccount, which is directly available as a button when clicking Special:UserLogin first on the top right in MediaWiki.

Is there a way to fix this? E.g. by customizing Special:CreateAccount as a workaround?

Regards InkluPedia (talk) 10:01, 13 October 2024 (UTC)Reply

Sorry, my fault
$wgGroupPermissions['*']['createaccount'] = false;
was commented out.
Regards InkluPedia (talk) 10:46, 13 October 2024 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Custom message, bug in extension documentation

[edit]

Is it possible to customize the text provided in each section of the form provided by this extension? Or at least set some text before the extension provides the form? This will allow me to describe why this extension is necessary in my wiki.

I have found a small improvement for the extension documentation. Currently it contains "Add the following to LocalSettings.php after the line require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";." This is outdated and does not fit to "wfLoadExtension( 'ConfirmAccount' );" in the documentation before this. InkluPedia (talk) 06:53, 17 October 2024 (UTC)Reply

I checked Special:AllMessages for prefix=confirmaccount and found some dozens of system messages. But I did not found any of the texts provided by extension ConfirmAccount. Here is an example. My wiki is in German language. Spezial:Benutzerkonto_beantragen provides text "Die folgenden Informationen werden vertraulich behandelt..." but I cannot found this text in Special:AllMessages InkluPedia (talk) 05:16, 20 October 2024 (UTC)Reply