Hello and Happy Friday!

In the Localsettings.php of a private enterprise mediawiki site I am developing 
I have a access to a visitor's session header variable called "$HTTP_EMPLOYER 
". I would like to automatically add users to a group called "approved-user" if 
the value of $HTTP_EMPLOYER matches the right text value.  Assuming it can be 
done, can anyone guide me on how to use the $wgAutopromote  variable[1] in 
Localsettings to automatically add users to a group based on a PHP condition 
that is not a predefined constant by mediawiki? Thank you!

[1] https://www.mediawiki.org/wiki/Manual:$wgAutopromote 

-Rich

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to