Install Extension:SpamBlacklist
The SpamBlacklist extension prevents edits that contain URLs whose domains match regular expression patterns defined in specified files or wiki pages and registration by users using specified email addresses. We also need an infra-root to manual download and install the extension. See below for instructions https://www.mediawiki.org/wiki/Extension:SpamBlacklist Change-Id: If752923483c5d7663ed33043f1b799cef2fface0 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4f33ccc959
commit
bc1cad4c0d
|
@ -300,3 +300,10 @@ require_once( "$IP/extensions/CirrusSearch/CirrusSearch.php" );
|
|||
$wgCirrusSearchServers = array( '127.0.0.1' );
|
||||
$wgCirrusSearchShardCount = array( 'content' => 5, 'general' => 5 );
|
||||
$wgSearchType = 'CirrusSearch';
|
||||
|
||||
# Extension:SpamBlacklist
|
||||
require_once "$IP/extensions/SpamBlacklist/SpamBlacklist.php";
|
||||
$wgSpamBlacklistFiles = array(
|
||||
"https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1",
|
||||
"https://en.wikipedia.org/w/index.php?title=MediaWiki:Spam-blacklist&action=raw&sb_ver=1"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue