mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-28 09:00:19 +00:00
5d882775f6
Bug: T88059 Change-Id: I730a2012609f7dfac3d49012ae14038e6bcac3ae
14 lines
511 B
PHP
14 lines
511 B
PHP
<?php
|
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
|
wfLoadExtension( 'SpamBlacklist' );
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
$wgMessagesDirs['SpamBlackList'] = __DIR__ . '/i18n';
|
|
/* wfWarn(
|
|
'Deprecated PHP entry point used for SpamBlacklist extension. Please use wfLoadExtension instead, ' .
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
); */
|
|
return;
|
|
} else {
|
|
die( 'This version of the SpamBlacklist extension requires MediaWiki 1.25+' );
|
|
}
|