Manual:updatelog table
From Linux Web Expert
↑ Manual:Contents | <translate> MediaWiki database layout</translate> | <translate> <tvar name=1>updatelog</tvar> table</translate> |
MediaWiki version: | <translate> ≥</translate> 1.13 |
The updatelog table logs MediaWiki updates, one text key row per executed update script.
Fields
ul_key
Pointer to a maintenance script, which was executed during a MediaWiki update. For update.php entries are formatted like updatelist-1.22.3-1393593680. Pointer to the maintenance script, MediaWiki version and timestamp in UNIX time.
ul_value
MediaWiki version: | <translate> ≥</translate> 1.17 |
Serialized data of the logged action; not present for old entries (pre 1.17).
Schema summary
MediaWiki version: | <translate> ≥</translate> 1.17 |
DESCRIBE updatelog;
+----------+----------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+----------------+------+-----+---------+-------+ | ul_key | varbinary(255) | NO | PRI | NULL | | | ul_value | blob | YES | | NULL | | +----------+----------------+------+-----+---------+-------+<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.16</tvar> is unsupported version</translate>">
1.13 – 1.16
<translate> MediaWiki versions:</translate> |
DESCRIBE updatelog;
+--------+----------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +--------+----------------+------+-----+---------+-------+ | ul_key | varbinary(255) | NO | PRI | NULL | | +--------+----------------+------+-----+---------+-------+
Indexes
MediaWiki version: | <translate> ≥</translate> 1.13 |
SHOW INDEX IN updatelog;
+-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | +-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | updatelog | 0 | PRIMARY | 1 | ul_key | A | 0 | NULL | NULL | | BTREE | | | +-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+