Manual:l10n_cache/es table

From Linux Web Expert


Manual: Contenidos de <translate> MediaWiki database layout</translate> <translate> <tvar name=1>l10n_cache/es</tvar> table</translate>
Versión de MediaWiki:
<translate> ≥</translate> 1.16

The l10n_cache table. 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.

Campos

lc_lang

Código del idioma.

lc_key

Cache key.

lc_value

Value, stored as a serialized string.

Schema summary

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.35
Gerrit change 597664
<translate> MediaWiki version:</translate>

DESCRIBE l10n_cache/es;

+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| lc_lang  | varbinary(35)  | NO   | PRI | NULL    |       |
| lc_key   | varbinary(255) | NO   | PRI | NULL    |       |
| lc_value | mediumblob     | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.34</tvar> is unsupported version</translate>">
1.30 – 1.34
Gerrit change 318553
<translate> MediaWiki versions:</translate>

DESCRIBE l10n_cache/es;

+----------+----------------+------+-----+---------+-------+
| 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    |       |
+----------+----------------+------+-----+---------+-------+
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.29</tvar> is unsupported version</translate>">
1.16 – 1.29
<translate> MediaWiki versions:</translate>

DESCRIBE l10n_cache/es;

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

Indexes

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.30
<translate> MediaWiki version:</translate>

SHOW INDEX IN l10n_cache/es;

+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table      | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| l10n_cache |          0 | PRIMARY  |            1 | lc_lang     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| l10n_cache |          0 | PRIMARY  |            2 | lc_key      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+