dokit/mail-domain-restriction

There is no license information available for the latest version (1.0.0) of this package.

Maintainers

Package info

github.com/dokit/mediawiki-MailDomainRestriction

Type:mediawiki-extension

pkg:composer/dokit/mail-domain-restriction

Statistics

Installs: 305

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2019-11-13 10:42 UTC

This package is not auto-updated.

Last update: 2026-03-13 16:14:19 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'];