mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-15 03:13:58 +00:00
* Support for $wgExtensionCredits
This commit is contained in:
parent
f9b43ca259
commit
ff1e275a8c
|
@ -19,6 +19,9 @@ if ( $wgFilterCallback ) {
|
|||
}
|
||||
|
||||
$wgFilterCallback = 'wfSpamBlacklistLoader';
|
||||
$wgExtensionCredits['other'][] = array(
|
||||
'name' => 'SpamBlacklist',
|
||||
);
|
||||
|
||||
function wfSpamBlacklistLoader( &$title, $text, $section ) {
|
||||
require_once( "SpamBlacklist_body.php" );
|
||||
|
|
Loading…
Reference in a new issue