Manual:Msg resource links table/zh

From mediawiki.org
This page is a translated version of the page Manual:Msg resource links table and the translation is 9% complete.
Other languages:
手冊:索引 MediaWiki数据库布局 msg_resource_links表
MediaWiki版本:
1.17 – 1.26

The msg_resource_links table was a table used for tracking which messages are contained in which resources. Message blobs [1] were cached in the msg_resource table and automatically invalidated when one of their constituent messages or the resource itself were changed. See Manual:MessageBlobStore.php .

Fields

mrl_resource

ResourceLoader module name.

mrl_message

Message key.

Schema summary

MediaWiki版本:
1.17 – 1.26

DESCRIBE msg_resource_links;

+--------------+----------------+------+-----+---------+-------+
| Field        | Type           | Null | Key | Default | Extra |
+--------------+----------------+------+-----+---------+-------+
| mrl_resource | varbinary(255) | NO   | PRI | NULL    |       |
| mrl_message  | varbinary(255) | NO   | PRI | NULL    |       |
+--------------+----------------+------+-----+---------+-------+

參考

  1. blobs for example are JSON objects containing the interface messages for a certain resource in a certain language