Register DB updates with the updater.

This commit is contained in:
Andrew Garrett 2009-01-29 00:26:33 +00:00
parent cb5eca50fd
commit 950fb8cf0c

View file

@ -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' );