Manual:Recentchanges table/fr

La table recentchanges contient des informations sur les dernières modifications apportées au wiki (pas plus anciennes que, voir aussi ci-dessous). Le contenu de ce tableau est généré sur les tableaux et  ; ils peuvent être régénérés en utilisant le script de maintenance. La table des modifications récentes elle même est utilisée pour générer les pages des modifications récentes, les pages liées modifiées, les listes de suivi, et la liste des nouvelles pages, et contient des informations telles que l'adresse IP du contributeur (en fonction de la configuration du wiki) que l'on ne trouve pas dans d'autres tables. La table des modifications récentes est très similaire à la table, qui est utilisée pour les listings de l'historique des pages et les contributions utilisateur. Différences :


 * La table des modifications récentes référence aussi les anciennes versions de la page
 * La table des modifications récentes enregistre aussi les événements du journal tels que le renommage des pages et les suppressions
 * Les éléments de la table des modifications récentes sont purgés périodiquement; ceux de la table des révisions sont typiquement gardés plus longtemps ou indéfiniment.
 * comme il a été dit, l'importation de la version d'une page n'ajoute pas simplement une entrée dans la table des révisions avec la date de l'import, mais également une autre avec la date originale.

Quand des pages sont renommées, leurs entrées RC (en particulier, et le titre) ne changent pas.

rc_id
C'est la clé primaire de la table. (introduit dans MediaWiki 1.5)

rc_timestamp
Contient la référence horaire de la modification. Correspond à (et, dans le cas des actions sur le journal).

rc_cur_time
Avait été obsolète, mais maintenu à l'origine pour la compatibilité amont.

rc_user
C'est égal à l' de l'utilisateur qui a fait cette modification. La valeur de ce champ est 0 pour les modifications anonymes, les scripts d'initialisation, et pour quelques importations de masse. Correspond à (et, dans le cas des actions sur le journal).

Si vous utilisez  pour sélectionner des modifications anonymes, n'oubliez pas de définir au moins également   ! Sur les wikis qui utilisent les résultats seraient sinon sans signification. Sur d'autres wikis, les robots ou les importations peuvent être plus adaptés que vous ne le pensez.

Déprécié en faveur de rc_actor.

rc_user_text
Ce champ contient le texte du nom d'utilisateur pour l'utilisateur qui a fait la modification, ou l'adresse IP si la modification a été faite par un utilisateur non enregistré. Correspond à (et, dans le cas d'actions de connexion).

Déprécié en faveur de rc_actor.

rc_actor
Ceci est une clé externe vers dans la table. Correspond à (ou  dans le cas d'actions de connexion).

rc_namespace
Numéro de l'espace de noms de la page qui a été modifiée. Correspond à, dans le cas d'actions de connexion.

Si cette rangée décrit une action de connexion, ce champ a pour valeur -1 (NS_SPECIAL), parce qu'il enregistre une entrée pour une sous-page Special:Log. C'est le seul endroit actuellement où les pages Special: sont directement enregistrées dans des paires (espace de noms, titre) de la base de données. (Incorrect. table records redirect to special pages in this way as well.)

rc_title
Nom de la page qui a fait l'objet du changement (sans l'espace de noms). Ce champ enregistre l'information au format texte. Correspond à log_title, dans le cas d'actions de journalisation.

rc_comment
Ce champ contient un résumé de la modification (commentaire de l'éditeur sur la révision). Ce texte est affiché dans les modifications récentes, les modifications liées, les   listes suivies, et dans le cas des créations de pages, dans la liste des nouvelles pages. (La table des révisions contient une copie (rev_comment) utilisée pour les pages de l'historique et des contributions utilisateur. Dans le cas des actions inscrites dans le journal, une copie se trouve aussi dans log_comment.) Elle est généré avec un sous-ensemble des balises wiki.


 * rc_comment_id et la table comment doivent être utilisés à la place !

rc_comment_id
Ceci est une clé externe de comment_id dans la table des commentaires.

rc_minor
Enregistre si l'utilisateur a marqué la modification comme 'mineure'. Si la valeur de ce champ est 1, alors la modification a été déclarée comme 'mineure'; sinon il vaut 0. Beaucoup de modifications automatiques sont marquées mineures. Correspond à rev_minor_edit.

rc_bot
Enregistre si la modification a été faite par un 'compte de robot'. If the value for this field is 1, then the change was made by a 'bot' (i.e. a user with the 'bot' permission); it is 0 otherwise. It is possible for bots to avoid setting this flag on their change by including the parameter "bot=0" in the form submission. Also, users with the 'rollback' and 'markbotedits' permissions may retroactively mark their rollbacks and the edits being rolled back as bot edits by including the parameter "bot=1" in the rollback link.

rc_new
If the value for this field is 1, then this edit created a page; it is 0 otherwise.

rc_cur_id
This field links to the page_id key in the page table, which stores the metadata of the page. Corresponds to log_page, in the case of log actions.

rc_this_oldid
Links to the rev_id key of the new page revision (after the edit occurs) in the revision table.

rc_last_oldid
Links to rev_parent_id, i.e. the rev_id of the revision prior to this edit, which included the previous content of the page.

rc_type
Ce champ mémorise le type de modification fait sur une page :
 * 0 (RC_EDIT) – modification d'une page existante
 * 1 (RC_NEW) – nouvelle page
 * 2 (RC_MOVE) – renommage (obsolete)
 * 3 (RC_LOG) – action de journalisation (ajouté en MediaWiki 1.2)
 * 4 (RC_MOVE_OVER_REDIRECT) – renommage sur redirection (obsolète)
 * 5 (RC_EXTERNAL) – Une modification récente externe. Utilisé à l'origine par Wikidata
 * 6 (RC_CATEGORIZE) – modification d'appartenance à une catégorie, voir (ajouté en MediaWiki 1.27, )

rc_source
La source de l'entrée de la modification (remplace rc_type).

Permet de spécifier le type de modification et pour davantage de flexibilité, de spécifier différents types d'entrées RecentChange. Par exemple, 'mw.edit', 'mw.log', 'mw.new' pour les types RecentChange du noyau et 'wb' et 'flow' fournis par les extensions.

rc_moved_to_ns
This field stored the namespace of a page whenever it was moved. As of MediaWiki 1.8, it remained in the table for backwards compatibility only, and always has the value 0. It was removed entirely in MediaWiki 1.21.

rc_moved_to_title
This field stored the new page title of a page whenever it was moved. As of MediaWiki 1.8, it remained in the table for backwards compatibility only, and is always a null string. It was removed entirely in MediaWiki 1.21.

rc_patrolled
If the Recent Changes Patrol option is enabled, users may mark changes as having been reviewed to remove a warning flag on the RC list. A value of 0 indicates the change is unpatrolled, 1 indicates the change has been reviewed. (Introduced in MediaWiki 1.4)

rc_patrolled actuellement possède trois états relatifs aux actions : "0" pour non-patrouillé (unpatrolled), "1" pour patrouillé manuellement (manually patrolled), et "2" pour patrouillé automatiquement (autopatrolled).

rc_ip
This field stores the IP address of the user specified on rc_user if is enabled. If $wgPutIPinRC is false, then the field will contain an empty string.

In some old MediaWiki versions this field was used to generate CheckUser reports, but it is now considered obsolete as CheckUser stores data in a separate  table. When the extension is set up, data from this field may be copied over a single time.

(ajouté en MediaWiki 1.3)

rc_old_len
This field stores the size, in bytes, of previous revision's text. This field is used to generate the added and removed characters feature in recent changes, related changes and watchlists.

rc_new_len
This field stores the size, in bytes, of the current revision's text. This field is used to generate the added and removed characters feature in recent changes, related changes and watchlists. Corresponds to.

rc_deleted
This field stores a value for this particular revision's visibility within the wiki. It was created to accommodate upcoming revisions to the deletion system. The field is analogous to or.

rc_logid
This field is a foreign key to the table, which links to  if this row corresponds to a log entry. The field was introduced in MediaWiki 1.10.

rc_log_type
If a log action is referenced in this row, this field stores the type of log action that was performed, and which is referenced in this row. Typical values are. This field is comparable to.

rc_log_action
Si une action d'enregistrement dans le journal est référencée sur cette ligne, ce champ contient le type d'action de journalisation exécutée et qui est référencée sur cette ligne. Ce champ est comparable à.

rc_params
Ce champ sera un mirroir de, après la réécriture du texte log_params. Ajouté en MediaWiki 1.10.

Résumé du schéma
+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field        | Type                | Null | Key | Default | Extra          |
 * rc_id        | int(11)             | NO   | PRI | NULL    | auto_increment |
 * rc_timestamp | varbinary(14)       | NO   | MUL |         |                |
 * rc_user      | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text | varbinary(255)      | NO   | MUL |         |                |
 * rc_actor     | bigint(20) unsigned | NO   | MUL | 0       |                |
 * rc_namespace | int(11)             | NO   | MUL | 0       |                |
 * rc_title     | varbinary(255)      | NO   |     |         |                |
 * rc_comment_id | bigint(20) unsigned | NO  |     | NULL    |                |
 * rc_minor     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot       | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new       | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id    | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid | int(10) unsigned   | NO   | MUL | 0       |                |
 * rc_last_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_type      | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source    | varbinary(16)       | NO   |     |         |                |
 * rc_patrolled | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip        | varbinary(40)       | NO   | MUL |         |                |
 * rc_old_len   | int(11)             | YES  |     | NULL    |                |
 * rc_new_len   | int(11)             | YES  |     | NULL    |                |
 * rc_deleted   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_logid     | int(10) unsigned    | NO   |     | 0       |                |
 * rc_log_type  | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action | varbinary(255)     | YES  |     | NULL    |                |
 * rc_params    | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field        | Type                | Null | Key | Default | Extra          |
 * rc_id        | int(11)             | NO   | PRI | NULL    | auto_increment |
 * rc_timestamp | varbinary(14)       | NO   | MUL |         |                |
 * rc_user      | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text | varbinary(255)      | NO   | MUL |         |                |
 * rc_actor     | bigint(20) unsigned | NO   | MUL | 0       |                |
 * rc_namespace | int(11)             | NO   | MUL | 0       |                |
 * rc_title     | varbinary(255)      | NO   |     |         |                |
 * rc_comment   | varbinary(767)      | NO   |     |         |                |
 * rc_comment_id | bigint(20) unsigned | NO  |     | 0       |                |
 * rc_minor     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot       | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new       | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id    | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid | int(10) unsigned   | NO   | MUL | 0       |                |
 * rc_last_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_type      | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source    | varbinary(16)       | NO   |     |         |                |
 * rc_patrolled | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip        | varbinary(40)       | NO   | MUL |         |                |
 * rc_old_len   | int(11)             | YES  |     | NULL    |                |
 * rc_new_len   | int(11)             | YES  |     | NULL    |                |
 * rc_deleted   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_logid     | int(10) unsigned    | NO   |     | 0       |                |
 * rc_log_type  | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action | varbinary(255)     | YES  |     | NULL    |                |
 * rc_params    | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field        | Type                | Null | Key | Default | Extra          |
 * rc_id        | int(11)             | NO   | PRI | NULL    | auto_increment |
 * rc_timestamp | varbinary(14)       | NO   | MUL |         |                |
 * rc_user      | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text | varbinary(255)      | NO   | MUL |         |                |
 * rc_actor     | bigint(20) unsigned | NO   | MUL | 0       |                |
 * rc_namespace | int(11)             | NO   | MUL | 0       |                |
 * rc_title     | varbinary(255)      | NO   |     |         |                |
 * rc_comment   | varbinary(767)      | NO   |     |         |                |
 * rc_comment_id | bigint(20) unsigned | NO  |     | 0       |                |
 * rc_minor     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot       | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new       | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id    | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_last_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_type      | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source    | varbinary(16)       | NO   |     |         |                |
 * rc_patrolled | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip        | varbinary(40)       | NO   | MUL |         |                |
 * rc_old_len   | int(11)             | YES  |     | NULL    |                |
 * rc_new_len   | int(11)             | YES  |     | NULL    |                |
 * rc_deleted   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_logid     | int(10) unsigned    | NO   |     | 0       |                |
 * rc_log_type  | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action | varbinary(255)     | YES  |     | NULL    |                |
 * rc_params    | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field        | Type                | Null | Key | Default | Extra          |
 * rc_id        | int(11)             | NO   | PRI | NULL    | auto_increment |
 * rc_timestamp | varbinary(14)       | NO   | MUL |         |                |
 * rc_user      | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text | varbinary(255)      | NO   | MUL | NULL    |                |
 * rc_namespace | int(11)             | NO   | MUL | 0       |                |
 * rc_title     | varbinary(255)      | NO   |     |         |                |
 * rc_comment   | varbinary(767)      | NO   |     |         |                |
 * rc_comment_id | bigint(20) unsigned | NO  |     | 0       |                |
 * rc_minor     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot       | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new       | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id    | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_last_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_type      | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source    | varbinary(16)       | NO   |     |         |                |
 * rc_patrolled | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip        | varbinary(40)       | NO   | MUL |         |                |
 * rc_old_len   | int(11)             | YES  |     | NULL    |                |
 * rc_new_len   | int(11)             | YES  |     | NULL    |                |
 * rc_deleted   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_logid     | int(10) unsigned    | NO   |     | 0       |                |
 * rc_log_type  | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action | varbinary(255)     | YES  |     | NULL    |                |
 * rc_params    | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field        | Type                | Null | Key | Default | Extra          |
 * rc_id        | int(11)             | NO   | PRI | NULL    | auto_increment |
 * rc_timestamp | varbinary(14)       | NO   | MUL |         |                |
 * rc_user      | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text | varbinary(255)      | NO   | MUL | NULL    |                |
 * rc_namespace | int(11)             | NO   | MUL | 0       |                |
 * rc_title     | varbinary(255)      | NO   |     |         |                |
 * rc_comment   | varbinary(767)      | NO   |     |         |                |
 * rc_minor     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot       | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new       | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id    | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_last_oldid | int(10) unsigned   | NO   |     | 0       |                |
 * rc_type      | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source    | varbinary(16)       | NO   |     |         |                |
 * rc_patrolled | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip        | varbinary(40)       | NO   | MUL |         |                |
 * rc_old_len   | int(11)             | YES  |     | NULL    |                |
 * rc_new_len   | int(11)             | YES  |     | NULL    |                |
 * rc_deleted   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_logid     | int(10) unsigned    | NO   |     | 0       |                |
 * rc_log_type  | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action | varbinary(255)     | YES  |     | NULL    |                |
 * rc_params    | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varbinary(14)       | NO   | MUL | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source        | varchar(16) binary  | NO   |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | varbinary(40)       | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |
 * rc_deleted       | tinyint(3) unsigned | NO   |     | NULL    |                |
 * rc_logid         | int(10) unsigned    | NO   |     | NULL    |                |
 * rc_log_type      | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action    | varbinary(255)      | YES  |     | NULL    |                |
 * rc_params        | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varbinary(14)       | NO   | MUL | NULL    |                |
 * rc_cur_time      | varbinary(14)       | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_source        | varchar(16) binary  | NO   |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | varbinary(40)       | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |
 * rc_deleted       | tinyint(3) unsigned | NO   |     | NULL    |                |
 * rc_logid         | int(10) unsigned    | NO   |     | NULL    |                |
 * rc_log_type      | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action    | varbinary(255)      | YES  |     | NULL    |                |
 * rc_params        | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varbinary(14)       | NO   | MUL | NULL    |                |
 * rc_cur_time      | varbinary(14)       | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | varbinary(40)       | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |
 * rc_deleted       | tinyint(3) unsigned | NO   |     | NULL    |                |
 * rc_logid         | int(10) unsigned    | NO   |     | NULL    |                |
 * rc_log_type      | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action    | varbinary(255)      | YES  |     | NULL    |                |
 * rc_params        | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varbinary(14)       | NO   | MUL | NULL    |                |
 * rc_cur_time      | varbinary(14)       | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | varbinary(40)       | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |
 * rc_deleted       | tinyint(3) unsigned | NO   |     | NULL    |                |
 * rc_logid         | int(10) unsigned    | NO   |     | NULL    |                |
 * rc_log_type      | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action    | varbinary(255)      | YES  |     | NULL    |                |
 * rc_params        | blob                | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varbinary(14)       | NO   | MUL | NULL    |                |
 * rc_cur_time      | varbinary(14)       | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | varbinary(40)       | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |
 * rc_deleted       | tinyint(3) unsigned | NO   |     | NULL    |                |
 * rc_logid         | int(10) unsigned    | NO   |     | NULL    |                |
 * rc_log_type      | varbinary(255)      | YES  |     | NULL    |                |
 * rc_log_action    | varbinary(255)      | YES  |     | NULL    |                |
 * rc_params        | blob                | NO   |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |                |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | char(15)            | NO   | MUL | NULL    |                |
 * rc_old_len       | int(10)             | YES  |     | NULL    |                |
 * rc_new_len       | int(10)             | YES  |     | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |                |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | int(11)             | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |                |
 * rc_patrolled     | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_ip            | char(15)            | NO   | MUL | NULL    |                |

+---+-+--+-+-++ +---+-+--+-+-++ +---+-+--+-+-++
 * Field            | Type                | Null | Key | Default | Extra          |
 * rc_id            | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |                |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |                |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |                |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |                |
 * rc_namespace     | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |                |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |                |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |                |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |                |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |                |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |                |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |                |
 * rc_ip            | char(15)            | NO   | MUL | NULL    |                |

+---+-+--+-+-+---+ +---+-+--+-+-+---+ +---+-+--+-+-+---+
 * Field            | Type                | Null | Key | Default | Extra |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |       |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |       |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |       |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |       |
 * rc_namespace     | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |       |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |       |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |       |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |       |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |       |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |       |
 * rc_ip            | char(15)            | NO   | MUL | NULL    |       |

+---+-+--+-+-+---+ +---+-+--+-+-+---+ +---+-+--+-+-+---+
 * Field            | Type                | Null | Key | Default | Extra |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |       |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |       |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |       |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |       |
 * rc_namespace     | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |       |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |       |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |       |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |       |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |       |
 * rc_type          | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_moved_to_ns   | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_moved_to_title | varchar(255) binary | NO  |     | NULL    |       |

+---+-+--+-+-+---+ +---+-+--+-+-+---+ +---+-+--+-+-+---+
 * Field            | Type                | Null | Key | Default | Extra |
 * rc_timestamp     | varchar(14) binary  | NO   | MUL | NULL    |       |
 * rc_cur_time      | varchar(14) binary  | NO   |     | NULL    |       |
 * rc_user          | int(10) unsigned    | NO   |     | 0       |       |
 * rc_user_text     | varchar(255) binary | NO   |     | NULL    |       |
 * rc_namespace     | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_title         | varchar(255) binary | NO   |     | NULL    |       |
 * rc_comment       | varchar(255) binary | NO   |     | NULL    |       |
 * rc_minor         | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_bot           | tinyint(3) unsigned | NO   |     | 0       |       |
 * rc_new           | tinyint(3) unsigned | NO   | MUL | 0       |       |
 * rc_cur_id        | int(10) unsigned    | NO   | MUL | 0       |       |
 * rc_this_oldid    | int(10) unsigned    | NO   |     | 0       |       |
 * rc_last_oldid    | int(10) unsigned    | NO   |     | 0       |       |

Indices
 +---++--+--+--+---+-+--++--++-+---+ +---++--+--+--+---+-+--++--++-+---+ +---++--+--+--+---+-+--++--++-+---+
 * Table        | Non_unique | Key_name                         | Seq_in_index | Column_name  | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
 * recentchanges |         0 | PRIMARY                          |            1 | rc_id        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_timestamp                     |            1 | rc_timestamp | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_namespace_title               |            1 | rc_namespace | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_namespace_title               |            2 | rc_title     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_cur_id                        |            1 | rc_cur_id    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | new_name_timestamp               |            1 | rc_new       | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | new_name_timestamp               |            2 | rc_namespace | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | new_name_timestamp               |            3 | rc_timestamp | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_ip                            |            1 | rc_ip        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_ns_usertext                   |            1 | rc_namespace | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_ns_usertext                   |            2 | rc_user_text | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_user_text                     |            1 | rc_user_text | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_user_text                     |            2 | rc_timestamp | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_name_type_patrolled_timestamp |            1 | rc_namespace | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_name_type_patrolled_timestamp |            2 | rc_type      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_name_type_patrolled_timestamp |            3 | rc_patrolled | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * recentchanges |         1 | rc_name_type_patrolled_timestamp |            4 | rc_timestamp | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |