Manual:msg_resource_links table

From Linux Web Expert


Manual:Contents <translate> MediaWiki database layout</translate> <translate> <tvar name=1>msg_resource_links</tvar> table</translate>
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.26</tvar> is unsupported version</translate>">
1.17 – 1.26
<translate> MediaWiki versions:</translate>

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

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.26</tvar> is unsupported version</translate>">
1.17 – 1.26
<translate> MediaWiki versions:</translate>

DESCRIBE msg_resource_links;

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

References

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