Jump to content

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

资源加载器 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