Manual:msg resource links table

From MediaWiki.org
Jump to: navigation, search
Manual:Contents MediaWiki database layout msg resource links table


Contents

MediaWiki version: 1.17

The msg_resource_links table is for administering which message is contained in which resource. Message blobs (i.e. JSON objects containing the interface messages for a certain resource in a certain language) are cached in the msg_resource table and automatically invalidated when one of their constituent messages or the resource itself is changed. See Manual:MessageBlobStore.php.

Fields [edit]

mrl_resource [edit]

ResourceLoader module name.

mrl_message [edit]

Message key.

Versions [edit]

(Current as of v1.20)

MediaWiki version: 1.17
mysql> DESCRIBE msg_resource_links;
+--------------+----------------+------+-----+---------+-------+
| Field        | Type           | Null | Key | Default | Extra |
+--------------+----------------+------+-----+---------+-------+
| mrl_resource | varbinary(255) | NO   | PRI | NULL    |       |
| mrl_message  | varbinary(255) | NO   | PRI | NULL    |       |
+--------------+----------------+------+-----+---------+-------+
2 rows in set (0,00 sec)