Manual:transcache table

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎日本語
Manual:Contents MediaWiki database layout transcache table


MediaWiki versions: 1.8 – 1.31

The transcache table is used to cache content that has been transcluded from other MediaWiki installations. See the interwiki table docs and the $wgEnableScaryTranscluding configuration variable for details on the feature. (removed in 1.32)

Fields[edit]

tc_url[edit]

URL of cached content.

tc_contents[edit]

Contents of cache.

tc_time[edit]

Timestamp of cache.

Schema summary[edit]

MediaWiki versions: 1.16 – 1.31

DESCRIBE transcache;

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | text           | YES  |     | NULL    |       |
| tc_time     | binary(14)     | NO   |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+
MediaWiki versions: 1.10 – 1.15

DESCRIBE transcache;

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | text           | YES  |     | NULL    |       |
| tc_time     | int(11)        | NO   |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+
MediaWiki versions: 1.5 – 1.9

DESCRIBE transcache;

+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| tc_url      | varchar(255) | NO   | PRI | NULL    |       |
| tc_contents | text         | YES  |     | NULL    |       |
| tc_time     | int(11)      | NO   |     | NULL    |       |
+-------------+--------------+------+-----+---------+-------+