: How do I promote a user automatically in Mediawiki and create a log of those promotions? I control a Mediawiki site. Here you can see users being automatically updated and added into the extended
I control a Mediawiki site. Here you can see users being automatically updated and added into the extended confirmed user group.
If I have a group called "util" where I just want to add relevant code to enable autopromotion with a log entry like that, make an edit and get promoted automatically into the group before removing the bit of code would it be possible? Also what code would I have to use to gain a level of access like that?
More posts by @Vandalay111
1 Comments
Sorted by latest first Latest Oldest Best
Use $wgAutopromote (or $wgAutopromoteOnce if you want to be able to manually remove people from the group). It would look something like this:
$wgAutopromote = [
'util' => [ APCOND_EDITCOUNT, 1 ],
];
$wgImplicitGroups[] = 'util'; // for good measure, hide the group in the normal group management interfaces
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.