diff --git a/resources/skins.minerva.scripts/references.js b/resources/skins.minerva.scripts/references.js index 5652fed..87a2f73 100644 --- a/resources/skins.minerva.scripts/references.js +++ b/resources/skins.minerva.scripts/references.js @@ -3,15 +3,12 @@ skin = M.require( 'skins.minerva.scripts/skin' ), page = M.getCurrentPage(), router = require( 'mediawiki.router' ), - ReferencesGateway = M.require( 'mobile.references.gateway/ReferencesGateway' ), - ReferencesMobileViewGateway = M.require( - 'mobile.references.gateway/ReferencesMobileViewGateway' - ), + mobile = M.require( 'mobile.startup' ), + ReferencesGateway = mobile.ReferencesGateway, + ReferencesMobileViewGateway = mobile.ReferencesMobileViewGateway, referencesMobileViewGateway = ReferencesMobileViewGateway.getSingleton(), - ReferencesHtmlScraperGateway = M.require( - 'mobile.references.gateway/ReferencesHtmlScraperGateway' - ), - ReferencesDrawer = M.require( 'mobile.references/ReferencesDrawer' ); + ReferencesHtmlScraperGateway = mobile.ReferencesHtmlScraperGateway, + ReferencesDrawer = mobile.ReferencesDrawer; /** * Creates a ReferenceDrawer based on the currently available diff --git a/skin.json b/skin.json index b30f1a1..04ea0c6 100644 --- a/skin.json +++ b/skin.json @@ -401,7 +401,6 @@ "skins.minerva.mainMenu", "mobile.search.api", "mobile.search", - "mobile.references", "mediawiki.user", "mediawiki.storage", "mediawiki.experiments"