Manual:l10n_cache table

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語
Manual:ContentsManual:Contents MediaWiki database layoutManual:Database layout l10n_cache table


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

Fields[edit]

lc_lang[edit]

Language code.

lc_key[edit]

Cache key.

lc_value[edit]

Value, stored as a serialized string.

Schema summary[edit]

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    |       |
+----------+----------------+------+-----+---------+-------+
DatabasesManual:Database layout Engines: MySQL/MariaDBManual:MySQLOracleManual:OraclePostgreSQLManual:PostgreSQLSQLiteManual:SQLiteSQL ServerManual:Microsoft SQL Server

Technical documentation: SchemaManual:Database layout (tablesCategory:MediaWiki database tables) – API property associationsAPI:Database field and API property associationsField prefixesDatabase field prefixesPrimary key storage in other fieldsManual:Primary key storage in other fieldsWikimedia extension tablesCategory:Wikimedia extension database tables
Configuration: SettingsManual:Configuration_settings#Database_settingsSharingManual:Shared database
Development: AccessManual:Database accessOptimizationDatabase optimizationPolicyDevelopment policy#Database_patchesUpdaterManual:DatabaseUpdater.phpExtension schema updatesManual:Hooks/LoadExtensionSchemaUpdatesPatch fileManual:SQL patch file

Core tables: archivebot_passwordscategorycategorylinkschange_tagcommentconfigexternallinksfilearchivehitcounterimageimagelinksimage_comment_tempinterwikiiwlinksipblocksip_changesjobl10n_cachelanglinkslogginglog_searchmsg_resourcemsg_resource_linksmodule_depsobjectcacheoldimagepagepagelinkspage_propspage_restrictionsprotected_titlesquerycachequerycachetwoquerycache_inforecentchangesredirectrevisionrevision_comment_tempsearchindexsitessite_identifiers - site_statstag_summarytemplatelinkstexttranscacheupdateloguploadstashuseruser_former_groupsuser_groupsuser_newtalkuser_propertiestag_summaryvalid_tagwatchlist