mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Fix dependencies to core modules
Add dependency on module 'mediawiki.util' for module 'ext.RevisionSlider.DiffPage' because modules/ext.RevisionSlider.DiffPage.js uses mw.util.wikiScript. Remove dependency on module 'mediawiki.util' for module 'ext.RevisionSlider.RevisionList' because this module does not use any functions from mw.util directly. Remove dependency on module 'mediawiki.user' for module 'ext.RevisionSlider.init' because this module uses only mw.user.options which is generated in core module 'mediawiki' and not in 'mediawiki.user'. Change-Id: Ifc6a20de667a410b9890fdc1fcba3319beb061de
This commit is contained in:
parent
05d5bf8c44
commit
82427b09bc
|
@ -74,7 +74,6 @@
|
|||
"ext.RevisionSlider.Api",
|
||||
"ext.RevisionSlider.icons",
|
||||
"mediawiki.api.options",
|
||||
"mediawiki.user",
|
||||
"mediawiki.util"
|
||||
],
|
||||
"messages": [
|
||||
|
@ -170,7 +169,8 @@
|
|||
"modules/ext.RevisionSlider.DiffPage.js"
|
||||
],
|
||||
"dependencies": [
|
||||
"mediawiki.Uri"
|
||||
"mediawiki.Uri",
|
||||
"mediawiki.util"
|
||||
]
|
||||
},
|
||||
"ext.RevisionSlider.RevisionList": {
|
||||
|
@ -179,8 +179,7 @@
|
|||
],
|
||||
"dependencies": [
|
||||
"ext.RevisionSlider.Revision",
|
||||
"ext.RevisionSlider.RevisionListView",
|
||||
"mediawiki.util"
|
||||
"ext.RevisionSlider.RevisionListView"
|
||||
]
|
||||
},
|
||||
"ext.RevisionSlider.RevisionListView": {
|
||||
|
|
Loading…
Reference in a new issue