From 82427b09bc8f7cc26236ef844a6a0a8c9463fee2 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sun, 27 Aug 2017 16:26:31 +0200 Subject: [PATCH] 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 --- extension.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/extension.json b/extension.json index 7ee0604f..c2135174 100644 --- a/extension.json +++ b/extension.json @@ -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": {