Manual:updatelog table

From MediaWiki.org
Jump to: navigation, search
Manual:Contents MediaWiki database layout updatelog table


MediaWiki version: 1.13


A table to log MediaWiki updates, one text key row per executed update script.

Fields[edit | edit source]

ul_key[edit | edit source]

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[edit | edit source]

MediaWiki version: 1.17

Serialized data of the logged action; not present for old entries (pre 1.17).

Versions[edit | edit source]

(Current as of v1.22.)

MediaWiki version: 1.19
mysql> describe updatelog;
+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| ul_key   | varbinary(255) | NO   | PRI | NULL    |       |
| ul_value | blob           | YES  |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+


MediaWiki version: 1.18

DESCRIBE updatelog:

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| ul_key      | varbinary(255) | NO   | PRI |         |       |
| ul_value    | blob           | YES  |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+


MediaWiki version: 1.13

DESCRIBE updatelog:

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| ul_key      | varchar(255)   | NO   | PRI |         |       |
+-------------+----------------+------+-----+---------+-------+
Databases Engines: MySQLOraclePostgreSQLSQLite
Technical documentation: Schema (tables) – API property associationsField prefixesPrimary key storage in other fieldsWikimedia extension tables
Configuration: SettingsSharing
Development: AccessOptimizationPolicyUpdaterExtension schema updatesPatch file
Core tables: archivecategorycategorylinkschange_tagconfigexternallinksfilearchivehitcounterimageimagelinksinterwikiiwlinksipblocksjobl10n_cachelanglinkslogginglog_searchmsg_resourcemsg_resource_linksmodule_depsobjectcacheoldimagepagepagelinkspage_propspage_restrictionsprotected_titlesquerycachequerycachetwoquerycache_inforecentchangesredirectrevisionsearchindexsitessite_statstag_summarytemplatelinkstexttranscacheupdateloguploadstashuseruser_former_groupsuser_groupsuser_newtalkuser_propertiesvalid_tagwatchlist