Mobile app version of vmapp.org
Login or Join
Vandalay111

: 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

@Vandalay111

Posted in: #Mediawiki

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Reiling115

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme