I succesfully installed the InviteSignup Extension and it works in general BUT:
-Users that have logged-in after receiving the invitation do not show up in the "Signed-Up" window of the extension
- when I set the parameter $wgISGroups in Localsettings.php to
´$wgISGroups = array( 'translator', 'sysop' );
or to any other combination of groups, I get the following error:
[7f8255b23d69b36c8679f494] /index.php?title=Special:InviteSignup ArgumentCountError from line 444 of C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\includes\user\UserGroupMembership.php: Too few arguments to function UserGroupMembership::getGroupMemberName(), 1 passed in C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\extensions\InviteSignup\SpecialInviteSignup.php on line 164 and exactly 2 expected
Backtrace:
#0 C:\Inetpub\vhosts\xxxde\wiki.xxx.de\extensions\InviteSignup\SpecialInviteSignup.php(164): UserGroupMembership::getGroupMemberName(string)
#1 C:\Inetpub\vhosts\xxxde\wiki.xxx.de\extensions\InviteSignup\SpecialInviteSignup.php(90): SpecialInviteSignup->getAddRow()
#2 C:\Inetpub\vhosts\xxx.de\wiki.xxxde\includes\specialpage\SpecialPage.php(569): SpecialInviteSignup->execute(NULL)
#3 C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\includes\specialpage\SpecialPageFactory.php(568): SpecialPage->run(NULL)
#4 C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\includes\MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#5 C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\includes\MediaWiki.php(860): MediaWiki->performRequest()
#6 C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\includes\MediaWiki.php(517): MediaWiki->main()
#7 C:\Inetpub\vhosts\xxx.de\wiki.xxx.de\index.php(42): MediaWiki->run()
#8 {main}
in line 164 of SpecialInviteSignup.php I find the following:
$groupChecks = [];
foreach ( $this->groups as $group ) {
$groupChecks[] = Xml::checkLabel(
UserGroupMembership::getGroupMemberName( $group ),
"group-$group",
"group-$group"
);
}
And in line 444 of includes\user\UserGroupMembership.php I find:
public static function getGroupMemberName( $group, $username ) {
$msg = wfMessage( "group-$group-member", $username );
return $msg->isBlank() ? $group : $msg->text();
}