mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
Register DB updates with the updater.
This commit is contained in:
parent
cb5eca50fd
commit
950fb8cf0c
|
@ -84,8 +84,15 @@ $wgAjaxExportList[] = 'AbuseFilter::ajaxEvaluateExpression';
|
|||
$wgAjaxExportList[] = 'AbuseFilter::ajaxReAutoconfirm';
|
||||
$wgAjaxExportList[] = 'AbuseFilter::ajaxGetFilter';
|
||||
|
||||
// DB updates
|
||||
$wgExtNewTables[] = array( 'abuse_filter', "$dir/abusefilter.tables.sql" );
|
||||
$wgExtNewTables[] = array( 'abuse_filter_history', "$dir/db_patches/patch-abuse_filter_history.sql" );
|
||||
|
||||
$wgExtNewFields[] = array( 'abuse_filter_history', 'afh_changed_fields', "$dir/db_patches/patch-afh_changed_fields.sql" );
|
||||
$wgExtNewFields[] = array( 'abuse_filter', 'af_deleted', "$dir/db_patches/patch-af_deleted.sql" );
|
||||
$wgExtNewFields[] = array( 'abuse_filter', 'af_actions', "$dir/db_patches/patch-af_actions.sql" );
|
||||
|
||||
// Bump the version number every time you change any of the .css/.js files
|
||||
$wgAbuseFilterStyleVersion = 3;
|
||||
|
||||
$wgAbuseFilterRestrictedActions = array( 'block', 'degroup' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue