jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Correct API module name inconsistency
......................................................................


Hygiene: Correct API module name inconsistency

* The module name does not reflect the RL module

Change-Id: I02cf3ea1bef11e62160f3bae50ecdde9a54d38ec
---
M resources/ext.gather.api/CollectionsApi.js
M resources/ext.gather.collection.delete/CollectionDeleteOverlay.js
M resources/ext.gather.collection.editor/CollectionEditOverlay.js
M resources/ext.gather.moderation/init.js
M resources/ext.gather.page.search/CollectionPageList.js
M resources/ext.gather.routes/routes.js
M resources/ext.gather.special/init.js
M resources/ext.gather.watchstar/CollectionsContentOverlay.js
M tests/qunit/ext.gather.watchstar/test_CollectionsContentOverlay.js
9 files changed, 9 insertions(+), 9 deletions(-)

Approvals:
  Jhernandez: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/ext.gather.api/CollectionsApi.js 
b/resources/ext.gather.api/CollectionsApi.js
index 8ff4146..56eea68 100644
--- a/resources/ext.gather.api/CollectionsApi.js
+++ b/resources/ext.gather.api/CollectionsApi.js
@@ -252,6 +252,6 @@
                }
        } );
 
-       M.define( 'ext.gather.watchstar/CollectionsApi', CollectionsApi );
+       M.define( 'ext.gather.api/CollectionsApi', CollectionsApi );
 
 }( mw.mobileFrontend, jQuery ) );
diff --git a/resources/ext.gather.collection.delete/CollectionDeleteOverlay.js 
b/resources/ext.gather.collection.delete/CollectionDeleteOverlay.js
index 046ff1f..1f67be8 100644
--- a/resources/ext.gather.collection.delete/CollectionDeleteOverlay.js
+++ b/resources/ext.gather.collection.delete/CollectionDeleteOverlay.js
@@ -5,7 +5,7 @@
                schema = new SchemaGather(),
                toast = M.require( 'toast' ),
                futureToasts = M.require( 'ext.gather.alerts/futureToasts' ),
-               CollectionsApi = M.require( 
'ext.gather.watchstar/CollectionsApi' ),
+               CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                ConfirmationOverlay = M.require( 
'ext.gather.collection.confirm/ConfirmationOverlay' );
 
        /**
diff --git a/resources/ext.gather.collection.editor/CollectionEditOverlay.js 
b/resources/ext.gather.collection.editor/CollectionEditOverlay.js
index b941476..8970c8b 100644
--- a/resources/ext.gather.collection.editor/CollectionEditOverlay.js
+++ b/resources/ext.gather.collection.editor/CollectionEditOverlay.js
@@ -2,7 +2,7 @@
 
        var CollectionEditOverlay,
                toast = M.require( 'toast' ),
-               CollectionsApi = M.require( 
'ext.gather.watchstar/CollectionsApi' ),
+               CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                CollectionSearchPanel = M.require( 
'ext.gather.page.search/CollectionSearchPanel' ),
                Overlay = M.require( 'Overlay' ),
                Icon = M.require( 'Icon' ),
diff --git a/resources/ext.gather.moderation/init.js 
b/resources/ext.gather.moderation/init.js
index 1744c05..ca9728f 100644
--- a/resources/ext.gather.moderation/init.js
+++ b/resources/ext.gather.moderation/init.js
@@ -1,5 +1,5 @@
 ( function ( M, $ ) {
-       var CollectionsApi = M.require( 'ext.gather.watchstar/CollectionsApi' ),
+       var CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                toast = M.require( 'toast' ),
                Icon = M.require( 'Icon' ),
                api = new CollectionsApi();
diff --git a/resources/ext.gather.page.search/CollectionPageList.js 
b/resources/ext.gather.page.search/CollectionPageList.js
index 4da65fe..f3cf2f8 100644
--- a/resources/ext.gather.page.search/CollectionPageList.js
+++ b/resources/ext.gather.page.search/CollectionPageList.js
@@ -2,7 +2,7 @@
 
        var PageList = M.require( 'modules/PageList' ),
                Page = M.require( 'Page' ),
-               CollectionsApi = M.require( 
'ext.gather.watchstar/CollectionsApi' ),
+               CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                View = M.require( 'View' ),
                Icon = M.require( 'Icon' ),
                CollectionPageList;
diff --git a/resources/ext.gather.routes/routes.js 
b/resources/ext.gather.routes/routes.js
index d31f6a3..65e4d66 100644
--- a/resources/ext.gather.routes/routes.js
+++ b/resources/ext.gather.routes/routes.js
@@ -1,6 +1,6 @@
 ( function ( M, $ ) {
 
-       var CollectionsApi = M.require( 'ext.gather.watchstar/CollectionsApi' ),
+       var CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                toast = M.require( 'toast' ),
                overlayManager = M.require( 'overlayManager' );
 
diff --git a/resources/ext.gather.special/init.js 
b/resources/ext.gather.special/init.js
index 2e2de29..908ae9f 100644
--- a/resources/ext.gather.special/init.js
+++ b/resources/ext.gather.special/init.js
@@ -1,6 +1,6 @@
 ( function ( M, $ ) {
 
-       var CollectionsApi = M.require( 'ext.gather.watchstar/CollectionsApi' ),
+       var CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                CollectionFlagOverlay = M.require( 
'ext.gather.flag/CollectionFlagOverlay' ),
                Icon = M.require( 'Icon' ),
                api = new CollectionsApi();
diff --git a/resources/ext.gather.watchstar/CollectionsContentOverlay.js 
b/resources/ext.gather.watchstar/CollectionsContentOverlay.js
index 072ce63..d3094bb 100644
--- a/resources/ext.gather.watchstar/CollectionsContentOverlay.js
+++ b/resources/ext.gather.watchstar/CollectionsContentOverlay.js
@@ -6,7 +6,7 @@
                toast = M.require( 'toast' ),
                user = M.require( 'user' ),
                Icon = M.require( 'Icon' ),
-               CollectionsApi = M.require( 
'ext.gather.watchstar/CollectionsApi' ),
+               CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                CollectionsContentOverlayBase = M.require( 
'ext.gather.collection.base/CollectionsContentOverlayBase' ),
                ButtonWithSpinner = M.require( 'ButtonWithSpinner' );
 
diff --git a/tests/qunit/ext.gather.watchstar/test_CollectionsContentOverlay.js 
b/tests/qunit/ext.gather.watchstar/test_CollectionsContentOverlay.js
index 53437bd..7f8fe9d 100644
--- a/tests/qunit/ext.gather.watchstar/test_CollectionsContentOverlay.js
+++ b/tests/qunit/ext.gather.watchstar/test_CollectionsContentOverlay.js
@@ -4,7 +4,7 @@
 // update state
 // mw.config.set( 'wgGatherCollections', state );
 ( function ( M, $ ) {
-       var CollectionsApi = M.require( 'ext.gather.watchstar/CollectionsApi' ),
+       var CollectionsApi = M.require( 'ext.gather.api/CollectionsApi' ),
                CollectionsContentOverlay = M.require( 
'ext.gather.watchstar/CollectionsContentOverlay' );
 
        QUnit.module( 'Gather', {

-- 
To view, visit https://gerrit.wikimedia.org/r/207009
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I02cf3ea1bef11e62160f3bae50ecdde9a54d38ec
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to