Jump to content

Erweiterung:AbuseFilter/abuse_filter_history-Tabelle

From mediawiki.org
This page is a translated version of the page Extension:AbuseFilter/abuse filter history table and the translation is 100% complete.

Felder

afh_id

Primärschlüssel

afh_filter

ID des Filters.

afh_user

Benutzer-ID des Bearbeiters.

afh_user_text

Benutzername des Bearbeiters.

afh_timestamp

Typischer MediaWiki-Zeitstempel der Filterbearbeitung.

afh_pattern

Die Regeln dieser Version des Filters.

afh_comments

Die Anmerkungen zu dieser Version des Filters.

afh_flags

Eine kommagetrennte Liste der Markierungen dieser Version des Filters. Beispiel:

enabled,hidden

afh_public_comments

Der öffentliche Name dieser Version des Filters.

afh_actions

Ein serialisiertes Array mit den Aktionen und ihren Parametern relativ zu dieser Aktion des Filters.

afh_deleted

Ob diese Version des Filters gelöscht ist. 1 wenn ja, sonst 0.

afh_changed_fields

Eine kommagetrennte Liste der geänderten Felder dieser Version. Jedes kann entweder eine "Aktion" oder eine der folgenden Spalten aus der Tabelle abuse_filter sein:

af_public_comments, af_pattern, af_comments, af_deleted, af_enabled, af_hidden, af_global, af_group

afh_group

Die Gruppe, zu der diese Version des Filters gehört, wie in $wgAbuseFilterValidGroups definiert.

Schema

mysql> describe abuse_filter_history;
+---------------------+---------------------+------+-----+---------+----------------+
| Field               | Type                | Null | Key | Default | Extra          |
+---------------------+---------------------+------+-----+---------+----------------+
| afh_id              | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
| afh_filter          | bigint(20) unsigned | NO   | MUL | NULL    |                |
| afh_user            | bigint(20) unsigned | NO   | MUL | NULL    |                |
| afh_user_text       | varbinary(255)      | NO   | MUL | NULL    |                |
| afh_timestamp       | binary(14)          | NO   | MUL | NULL    |                |
| afh_pattern         | blob                | NO   |     | NULL    |                |
| afh_comments        | blob                | NO   |     | NULL    |                |
| afh_flags           | tinyblob            | NO   |     | NULL    |                |
| afh_public_comments | tinyblob            | YES  |     | NULL    |                |
| afh_actions         | blob                | YES  |     | NULL    |                |
| afh_deleted         | tinyint(1)          | NO   |     | 0       |                |
| afh_changed_fields  | varbinary(255)      | NO   |     |         |                |
| afh_group           | varbinary(64)       | YES  |     | NULL    |                |
+---------------------+---------------------+------+-----+---------+----------------+

Indexe

+----------------------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table                | Non_unique | Key_name      | Seq_in_index | Column_name   | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+----------------------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| abuse_filter_history |          0 | PRIMARY       |            1 | afh_id        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| abuse_filter_history |          1 | afh_filter    |            1 | afh_filter    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| abuse_filter_history |          1 | afh_user      |            1 | afh_user      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| abuse_filter_history |          1 | afh_user_text |            1 | afh_user_text | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| abuse_filter_history |          1 | afh_timestamp |            1 | afh_timestamp | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+----------------------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+