dokit / mail-domain-restriction
Installs: 303
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:mediawiki-extension
This package is not auto-updated.
Last update: 2024-11-08 09:57:25 UTC
README
MailDomainRestriction is a mediawiki extension restrict email's domain at account creation.
Installation
Extract extension ant place it in the 'extensions' directory of your installation. (the directory namme must be 'MailDomainRestriction')
Load extension in file LocalSetting.php :
wfLoadExtension( 'MailDomainRestriction' );
and in this file, add either a domains whitelist or a blacklist :
$wgMailDomainRestrictionWhitelist = ['alloweddomain.com'];
or
$wgMailDomainRestrictionBlacklist = ['forbiddendomain.com'];