Extension talk:ConfirmAccount/2022
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
ConfirmAccount missing on Login page (1.38)
editI did not get the chance to check in earlier versions (v1.35) if the Login button does indeed appear.
Checked the workaround posted here: https://www.mediawiki.org/w/index.php?title=Extension%20talk%3AConfirmAccount/2020#c-Paulette00-2020-06-26T12%3A29%3A00.000Z-Paulette00-2020-06-25T12%3A36%3A00.000Z but it's already fixed.
The settings used:
// CAPTCHA
// If your MediaWiki version is 1.25 or higher, use this line:
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);
# The following permissions were set based on your choice in the installer
# Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;
# But allow them to read e.g., these pages:
$wgWhitelistRead = [
"Main Page",
"Help:Contents",
"Special:RequestAccount",
];
# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = true;
# Prevent new user registrations by anyone
$wgGroupPermissions['*']['createaccount'] = false;
#Confirm new Users settings (CONFIRM EXTENSION)
#CONFIRMACCOUNT EXTENTION SETTINGS
$wgConfirmAccountContact = 'email_account@gmail.com';
$wgGroupPermissions['administrator']['confirmaccount-notify'] = true;
$wgGroupPermissions['bureaucrat']['confirmaccount-notify'] = true;
$wgRejectedAccountMaxAge = 0;
$wgMakeUserPageFromBio = false;
#$wgAutoWelcomeNewUsers = true;
$wgConfirmAccountRequestFormItems = [
'UserName' => [ 'enabled' => true ],
'RealName' => [ 'enabled' => true ],
'Biography' => [ 'enabled' => false, 'minWords' => 50 ],
'AreasOfInterest' => [ 'enabled' => false ],
'CV' => [ 'enabled' => false ],
'Notes' => [ 'enabled' => true ],
'Links' => [ 'enabled' => false ],
'TermsOfService' => [ 'enabled' => true ],
];
Any ideas how to check what is going wrong?
Product | Version |
---|---|
MediaWiki | 1.38.2 |
PHP | 7.4.19 (fpm-fcgi) |
MariaDB | 10.6.7-MariaDB |
ICU | 60.3 |
Lua | 5.1.5 |
Pygments | 2.11.2 |
I am using the new Vector Skin (2022)
Thanks,
Mircea SyncmasterN (talk) 09:34, 12 July 2022 (UTC)
1.38 internal error
editRESOLVED | |
Not an error in ConfirmAccount. |
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.
Hoping this is an easy one. Here is the backtrace. Happens when I hit the "Create Account" button.
[Yve--N0CrNL3S_ildqFUjAAAABM] /wiki/index.php?title=Special:CreateAccount&returnto=Special:ConfirmAccounts/authors Error: Call to undefined method User::setOption()
Backtrace:
from /usr/local/www/apache24/data/wiki/skins/Vector/includes/Hooks.php(220)
#0 /usr/local/www/apache24/data/wiki/includes/HookContainer/HookContainer.php(338): Vector\Hooks::onLocalUserCreated(User, boolean)
#1 /usr/local/www/apache24/data/wiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#2 /usr/local/www/apache24/data/wiki/includes/HookContainer/HookRunner.php(2370): MediaWiki\HookContainer\HookContainer->run(string, array)
#3 /usr/local/www/apache24/data/wiki/includes/auth/AuthManager.php(1503): MediaWiki\HookContainer\HookRunner->onLocalUserCreated(User, boolean)
#4 /usr/local/www/apache24/data/wiki/includes/auth/AuthManager.php(1217): MediaWiki\Auth\AuthManager->continueAccountCreation(array)
#5 /usr/local/www/apache24/data/wiki/includes/specialpage/AuthManagerSpecialPage.php(376): MediaWiki\Auth\AuthManager->beginAccountCreation(User, array, string)
#6 /usr/local/www/apache24/data/wiki/includes/specialpage/AuthManagerSpecialPage.php(502): AuthManagerSpecialPage->performAuthenticationStep(string, array)
#7 /usr/local/www/apache24/data/wiki/includes/htmlform/HTMLForm.php(726): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)
#8 /usr/local/www/apache24/data/wiki/includes/specialpage/AuthManagerSpecialPage.php(435): HTMLForm->trySubmit()
#9 /usr/local/www/apache24/data/wiki/includes/specialpage/LoginSignupSpecialPage.php(314): AuthManagerSpecialPage->trySubmit()
#10 /usr/local/www/apache24/data/wiki/includes/specialpage/SpecialPage.php(671): LoginSignupSpecialPage->execute(NULL)
#11 /usr/local/www/apache24/data/wiki/includes/specialpage/SpecialPageFactory.php(1378): SpecialPage->run(NULL)
#12 /usr/local/www/apache24/data/wiki/includes/MediaWiki.php(315): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#13 /usr/local/www/apache24/data/wiki/includes/MediaWiki.php(912): MediaWiki->performRequest()
#14 /usr/local/www/apache24/data/wiki/includes/MediaWiki.php(563): MediaWiki->main()
#15 /usr/local/www/apache24/data/wiki/index.php(53): MediaWiki->run()
#16 /usr/local/www/apache24/data/wiki/index.php(46): wfIndexMain()
#17 {main} Therotintheroot (talk) 15:11, 13 August 2022 (UTC)
- Nevermind, I fixed it. Skin was bad. Sorry for the noise! Therotintheroot (talk) 23:23, 14 August 2022 (UTC)