Jump to content

Manual:L10n cache table: Difference between revisions

From mediawiki.org
Content deleted Content added
Leucosticte (talk | contribs)
No edit summary
Leucosticte (talk | contribs)
Line 15: Line 15:


==Versions==
==Versions==
(Current as of v1.20)
{{MW 1.16|and after}}{{-}}<!--Still the same in v1.19-->
{{MW 1.16|and after}}{{-}}
<tt>DESCRIBE l10n_cache;</tt>
<tt>DESCRIBE l10n_cache;</tt>
<pre>
<pre>

Revision as of 12:05, 3 November 2012

MediaWiki version:
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 LCStore_DB class's public function get() looks up the lc_value by the lc_lang and lc_key.

Fields

lc_lang

Language code.

lc_key

Cache key.

lc_value

Value, stored as a serialized string.

Versions

(Current as of v1.20)

MediaWiki version:
1.16

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    |       |
+----------+----------------+------+-----+---------+-------+