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

Change subject: Hygiene: Move notifications code to resources/
......................................................................


Hygiene: Move notifications code to resources/

Change-Id: I5470bbd92cb667f1a00e5496fedadbb7bd7ea528
---
M includes/Resources.php
R resources/mobile.notifications.overlay/NotificationsOverlay.js
R resources/mobile.notifications.overlay/NotificationsOverlayContent.hogan
R resources/mobile.notifications/init.js
R resources/mobile.special.notifications.scripts/notifications.js
R resources/mobile.special.notifications.styles/notifications.less
6 files changed, 5 insertions(+), 5 deletions(-)

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



diff --git a/includes/Resources.php b/includes/Resources.php
index b6db40c..2148b78 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -1386,7 +1386,7 @@
                        'mobile.loggingSchemas',
                ),
                'scripts' => array(
-                       'javascripts/modules/notifications/notifications.js',
+                       'resources/mobile.notifications/init.js',
                ),
                'group' => 'user',
        ),
@@ -1397,13 +1397,13 @@
                        'ext.echo.base',
                ),
                'scripts' => array(
-                       
'javascripts/modules/notifications/NotificationsOverlay.js',
+                       
'resources/mobile.notifications.overlay/NotificationsOverlay.js',
                ),
                'styles' => array(
                        'less/modules/NotificationsOverlay.less',
                ),
                'templates' => array(
-                       'content.hogan' => 
'templates/modules/notifications/NotificationsOverlayContent.hogan',
+                       'content.hogan' => 
'resources/mobile.notifications.overlay/NotificationsOverlayContent.hogan',
                ),
                'messages' => array(
                        // defined in Echo
@@ -1541,7 +1541,7 @@
 
        'mobile.special.notifications.styles' => 
$wgMFMobileSpecialPageResourceBoilerplate + array(
                'styles' => array(
-                       'less/specials/notifications.less',
+                       
'resources/mobile.special.notifications.styles/notifications.less',
                ),
                'position' => 'top',
        ),
@@ -1551,7 +1551,7 @@
                        'mobile.startup',
                ),
                'scripts' => array(
-                       'javascripts/specials/notifications.js',
+                       
'resources/mobile.special.notifications.scripts/notifications.js',
                ),
                'messages' => array(
                        // defined in Echo
diff --git a/javascripts/modules/notifications/NotificationsOverlay.js 
b/resources/mobile.notifications.overlay/NotificationsOverlay.js
similarity index 100%
rename from javascripts/modules/notifications/NotificationsOverlay.js
rename to resources/mobile.notifications.overlay/NotificationsOverlay.js
diff --git a/templates/modules/notifications/NotificationsOverlayContent.hogan 
b/resources/mobile.notifications.overlay/NotificationsOverlayContent.hogan
similarity index 100%
rename from templates/modules/notifications/NotificationsOverlayContent.hogan
rename to 
resources/mobile.notifications.overlay/NotificationsOverlayContent.hogan
diff --git a/javascripts/modules/notifications/notifications.js 
b/resources/mobile.notifications/init.js
similarity index 100%
rename from javascripts/modules/notifications/notifications.js
rename to resources/mobile.notifications/init.js
diff --git a/javascripts/specials/notifications.js 
b/resources/mobile.special.notifications.scripts/notifications.js
similarity index 100%
rename from javascripts/specials/notifications.js
rename to resources/mobile.special.notifications.scripts/notifications.js
diff --git a/less/specials/notifications.less 
b/resources/mobile.special.notifications.styles/notifications.less
similarity index 100%
rename from less/specials/notifications.less
rename to resources/mobile.special.notifications.styles/notifications.less

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5470bbd92cb667f1a00e5496fedadbb7bd7ea528
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de>
Gerrit-Reviewer: Bmansurov <bmansu...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to