Manual:Module deps table/es

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Module deps table and the translation is 8% complete.

Other languages:
English • ‎dansk • ‎español • ‎日本語
Manual: Contenido MediaWiki database layout module_deps table


Versión de MediaWiki: 1.17

The module_deps table is for caching which local files a skin/module depends on that aren't registered directly.

Currently used for tracking images and LESS files that CSS depends on.

Fields

md_module

Module name

md_skin

Skin name

md_deps

JSON blob with file dependencies.

Contains absolute file paths, which are used to locate the according files. These paths will break when the wiki is e.g. moved to another folder or to another server.

Since MediaWiki 1.25 (phabricator:T37472), update.php now deletes the contents of the module_deps table, thus clearing the cache. For versions of MediaWiki which do not yet have this fix in update.php, the workaround is to manually delete the contents of the module_deps table.

Resumen del esquema

Versión de MediaWiki: 1.17

DESCRIBE module_deps;

+-----------+----------------+------+-----+---------+-------+
| Field     | Type           | Null | Key | Default | Extra |
+-----------+----------------+------+-----+---------+-------+
| md_module | varbinary(255) | NO   | PRI | NULL    |       |
| md_skin   | varbinary(32)  | NO   | PRI | NULL    |       |
| md_deps   | mediumblob     | NO   |     | NULL    |       |
+-----------+----------------+------+-----+---------+-------+