Hello!
How can i change the text of the Invitation email?
You should create the page MediaWiki:is-emailbody on your own wiki and define your desired email body text on that page.
You can also do this to change the email subject using MediaWiki:is-emailsubj on your on wiki.
For more information on this method, the page Help:System_message#Overriding_messages_on-wiki should help.
how to fix the following error?
A database query error has occurred. This may indicate a bug in the software.
[YIX97VzxouZ7shRdkl6pJQAAANY] 2021-04-25 23:40:29: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
Please help...
That code certainly doesn't. Something else may if you haven't run update.php.
Wiki 1.34.2
If i use $wgISGroups
ArgumentCountError from line 456 of C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\user\UserGroupMembership.php: Too few arguments to function UserGroupMembership::getGroupMemberName(), 1 passed in C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php on line 164 and exactly 2 expected
Backtrace:
#0 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php(164): UserGroupMembership::getGroupMemberName(string)
#1 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php(90): SpecialInviteSignup->getAddRow()
#2 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\specialpage\SpecialPage.php(575): SpecialInviteSignup->execute(NULL)
#3 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\specialpage\SpecialPageFactory.php(611): SpecialPage->run(NULL)
#4 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#5 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(900): MediaWiki->performRequest()
#6 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(527): MediaWiki->main()
#7 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\index.php(44): MediaWiki->run()
#8 {main}
That is not the latest version. You can pick up the master or REL1_35 version which to my knowledge are still compatible with MediaWiki 1.34.
I've set up a wiki that is private so users must be logged in to view pages. When clicking the invite link in the email, I am told that I don't have permission to view the account creation page. While leaving $wgGroupPermissions['*']['createaccount'] = false; I've set $wgWhitelistRead = [ "Special:CreateAccount" ]; and now get an error "You do not have permission to do that, for the following reason: You are not allowed to execute the action you have requested."
How can the InviteSignup extension be used on a private wiki? I seem to be missing something. Thank you!
It's meant to be used like that, but I am afraid it is no longer working with modern MediaWiki versions.
Going to Special:InviteSignup shows You do not have permission to invite users to sign up to this site, for the following reason: You are not allowed to execute the action you have requested.
Even though Special:ListGroupRights shows my user group for sure has the InviteSignup Any ideas?
Just tried logging out/in to make sure and still there's permission error
Are you using MW1.29? It might be a version issue.
I am not using InviteSignup much currently and I am not even sure it works properly with MediaWiki since the auth code rewrite. But you shouldn't see such errors. Maybe related to https://gerrit.wikimedia.org/r/c/303358/ ?
A wiki of mine exhibits a similar, and I believe related issue: Users in the "staff", "admin" and "bureaucrat" user-groups are able to send invitations, but upon following the invitation link, the invitee gets a message that they are not authorised to perform the action.
I experience the same with MW 1.31. I think this is either broken or broken for private wiki use with the ConfirmAccount extension used at the same time.
I don't want them to decide on their own usernames, just on their own passwords.
Running MediaWiki 1.22.5 with a few extensions.
The email link is http://<mydomain>/index.php?title=Special:UserLogin/signup&invite=4c2d4327c0c65a093e82f7989ab69aa6959b06ea&returnto=Special%3ADashboard.
Fill in a userid and password and click on "Create your account".
An error is displayed - "Account creation error. No email address"
I suspect it is either a permissions issue or a conflict with another extension.
Any suggestions?
The same - "mediawiki-1.25.2".
>>Was the account actually created?
I try to create it on SpecialPages\Create account
I have the same issue with MW1.26.
$wgEmailAuthentication is set to "true" in LocalSettings.php, which is how I would like it to be.
Are you suggesting that this extension doesn't work with this configuration?
Even after having set $wgEmailAuthentication = false, invitees still get this error message.
Is it something else?
Further experimentation showed me that the setting of $wgEmailAuthentication is insignificant for the work of InviteSignup, and that $wgEmailConfirmToEdit is the setting that has to be set to false.
It would be great if I could already set up a username for the people I invite. Is it possible to add that?
It's not currently possible.
It sounds like you could just create accounts for them in a regular way and then request password reminder to let them reset their password.
Great little extension!
However, lots of invites will end in spam folders because the extensions sends invites from the logged in user's e-mail address. If this address has SPF rules set up not allowing the wiki server to send mails (which in my world would almost always be the case), the receiving server will mark the message as spam.
Shouldn't this extension use $wgPasswordSender as From address?
Anyway, thanks for the great work!
Best regards, Asbjørn Baagø
I just installed this extension -- it's perfect for what I need, except emails keep going to spam. I wish I knew enough to submit a patch for this. If you could get around to it, that would be very helpful. Thank you!
I've been busy for a few days. I'll check to see if the above mentioned fix solves my problem. If not, I'll work on a fix and submit it. If it does fix it, I'm very thankful! :-)
-Asbjørn Baagø
I've installed extension using instructions. I can see it in special:version, and can go to special:invitesignup. But when i'm clicking add, postback fails (i see it in console) and wiki shows me stadart page for absent article.
And there was the bullet: SpecialInviteSignup.php line 147 Html::hidden( 'title', $this->getPageTitle()->getDBKey() ) .
cuz of Wiki.php line 77: $title = $request->getVal( 'title' );
PS: im using latest wiki and extension versions on the post date.
By "latest wiki", do you mean you're using 1.22? Anyway, I hope gerrit:134800 fixes it, you may want to test.