r111711 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111710‎ | r111711 | r111712 >
Date:01:43, 17 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Contents of patch-afl_action_id.sql isn't actually int he default sql file...
Modified paths:
  • /trunk/extensions/AbuseFilter/abusefilter.tables.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/abusefilter.tables.sql
@@ -15,7 +15,7 @@
1616 af_deleted tinyint(1) NOT NULL DEFAULT 0,
1717 af_actions varchar(255) NOT NULL DEFAULT '',
1818 af_global tinyint(1) NOT NULL DEFAULT 0,
19 -
 19+
2020 PRIMARY KEY (af_id),
2121 KEY (af_user)
2222 ) /*$wgDBTableOptions*/;
@@ -24,7 +24,7 @@
2525 afa_filter BIGINT unsigned NOT NULL,
2626 afa_consequence varchar(255) NOT NULL,
2727 afa_parameters TINYBLOB NOT NULL,
28 -
 28+
2929 PRIMARY KEY (afa_filter,afa_consequence),
3030 KEY (afa_consequence)
3131 ) /*$wgDBTableOptions*/;
@@ -44,13 +44,17 @@
4545 afl_wiki varchar(64) binary NULL,
4646 afl_deleted tinyint(1) NOT NULL DEFAULT 0,
4747 afl_patrolled_by int unsigned NULL,
48 -
 48+ afl_rev_id int unsigned,
 49+ afl_log_id int unsigned,
 50+
4951 PRIMARY KEY (afl_id),
5052 KEY filter_timestamp (afl_filter,afl_timestamp),
5153 KEY user_timestamp (afl_user,afl_user_text,afl_timestamp),
5254 KEY (afl_timestamp),
5355 KEY page_timestamp (afl_namespace, afl_title, afl_timestamp),
54 - KEY ip_timestamp (afl_ip, afl_timestamp)
 56+ KEY ip_timestamp (afl_ip, afl_timestamp),
 57+ KEY (afl_rev_id),
 58+ KEY (afl_log_id)
5559 ) /*$wgDBTableOptions*/;
5660
5761 CREATE TABLE /*$wgDBprefix*/abuse_filter_history (
@@ -66,7 +70,7 @@
6771 afh_actions BLOB,
6872 afh_deleted tinyint(1) NOT NULL DEFAULT 0,
6973 afh_changed_fields varchar(255) NOT NULL DEFAULT '',
70 -
 74+
7175 PRIMARY KEY (afh_id),
7276 KEY (afh_filter),
7377 KEY (afh_user),

Sign-offs

UserFlagDate
Nikerabbitinspected07:30, 17 February 2012

Status & tagging log