Manual:l10n_cacheテーブル

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:L10n cache table and the translation is 56% complete.
Other languages:
English • ‎español • ‎中文 • ‎日本語
Manual:コンテンツ MediaWiki のデータベース レイアウト l10n_cache table


MediaWiki バージョン: 1.16

l10n_cache テーブルです。 Its content can be deleted and excluded from backups as it will be regenerated when needed. LocalisationCache.php 's LCStoreDB class's public function get() looks up the lc_value by the lc_lang and lc_key.

フィールド

lc_lang

言語コード。

lc_key

Cache key.

lc_value

Value, stored as a serialized string.

スキーマの要約

MediaWiki バージョン: 1.30
Gerrit change 318553

DESCRIBE l10n_cache;

+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| lc_lang  | varbinary(32)  | NO   | PRI | NULL    |       |
| lc_key   | varbinary(255) | NO   | PRI | NULL    |       |
| lc_value | mediumblob     | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+
MediaWiki バージョン: 1.16 – 1.29

DESCRIBE l10n_cache;

+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| lc_lang  | varbinary(32)  | NO   | MUL | NULL    |       |
| lc_key   | varbinary(255) | NO   |     | NULL    |       |
| lc_value | mediumblob     | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+