Manual:module_deps table
From MediaWiki.org
↑ Manual:Contents | MediaWiki database layout | module_deps table |
MediaWiki version: | ≥ 1.17 |
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[edit | edit source]
md_module[edit | edit source]
Module name
md_skin[edit | edit source]
Skin name
md_deps[edit | edit source]
JSON blob with file dependencies. Note: 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 (bugzilla:35472).
Until this bug is solved, you can use this workaround to manually fix wrong entries in the module_deps table:
SET @OLD='wiki.old-domain.org'; SET @NEW='wiki.new-domain.org'; UPDATE `module_deps` SET `md_deps` = REPLACE( `md_deps`, @OLD, @NEW );
This can be used to update wrong path segments and to fix the error.
Versions[edit | edit source]
MediaWiki version: | ≥ 1.19 |
mysql> 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 | | +-----------+----------------+------+-----+---------+-------+
![]() |
Engines: MySQL – Oracle – PostgreSQL – SQLite Technical documentation: Schema (tables) – API property associations – Field prefixes – Primary key storage in other fields – Wikimedia extension tables Configuration: Settings – Sharing Development: Access – Optimization – Policy – Updater – Extension schema updates – Patch file Core tables: archive – category – categorylinks – change_tag – config – externallinks – filearchive – hitcounter – image – imagelinks – interwiki – iwlinks – ipblocks – job – l10n_cache – langlinks – logging – log_search – msg_resource – msg_resource_links – module_deps – objectcache – oldimage – page – pagelinks – page_props – page_restrictions – protected_titles – querycache – querycachetwo – querycache_info – recentchanges – redirect – revision – searchindex – sites – site_stats – tag_summary – templatelinks – text – transcache – updatelog – uploadstash – user – user_former_groups – user_groups – user_newtalk – user_properties – valid_tag – watchlist |
---|