Extension:AbuseFilter/table abuse_filter_history

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

Champs

afh_id

Clé primaire

afh_filter

ID du filtre.

afh_user

ID de l'utilisateur qui a modifié.

afh_user_text

Nom de l'utilisateur qui a modifié.

afh_timestamp

Référence horaire MediaWiki typique de la modification du filtre.

afh_pattern

Les règles de cette version du filtre.

afh_comments

Les notes de cette version du filtre.

afh_flags

Liste de balises séparées par des virgules pour cette version du filtre. Exemple :

enabled,hidden

afh_public_comments

Nom publique de cette version du filtre.

afh_actions

Un tableau sérialisé avec les actions du filtre et leurs paramètres relatifs.

afh_deleted

Indique si cette version du filtre est supprimée. 1 si elle l'est, 0 sinon.

afh_changed_fields

Une liste de champs modifiés dans cette version et séparés par des virgules. Chacun peut être soit une action ou l'une des colonnnes suivantes de la table abuse_filter :

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

afh_group

Groupe auquel appartient ce filtre, tel que défini dans $wgAbuseFilterValidGroups.

Schéma

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    |                |
+---------------------+---------------------+------+-----+---------+----------------+

Les index

+----------------------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| 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      |         |               |
+----------------------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+