Florianschmidtwelzow has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/208994

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

Hygiene: Move Nearby code to resources/

Change-Id: I4b30622a58d7c8e2da0ddeb773d129f4738f13f9
---
M includes/Resources.php
R resources/mobile.nearby/Nearby.js
R resources/mobile.nearby/NearbyApi.js
R resources/mobile.nearby/nearby.hogan
R resources/mobile.nearby/specialNearby.less
R resources/mobile.nearby/specialNearbyDesktop.less
R tests/qunit/mobile.nearby/test_Nearby.js
R tests/qunit/mobile.nearby/test_NearbyApi.js
8 files changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/94/208994/1

diff --git a/includes/Resources.php b/includes/Resources.php
index c10fef2..47befb5 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -1203,11 +1203,11 @@
                        'mobile-frontend-nearby-permission-guidance',
                ),
                'scripts' => array(
-                       'javascripts/modules/nearby/NearbyApi.js',
-                       'javascripts/modules/nearby/Nearby.js',
+                       'resources/mobile.nearby/NearbyApi.js',
+                       'resources/mobile.nearby/Nearby.js',
                ),
                'templates' => array(
-                       'Nearby.hogan' => 
'templates/modules/nearby/nearby.hogan',
+                       'Nearby.hogan' => 
'resources/mobile.nearby/nearby.hogan',
                ),
        ),
 
@@ -1553,11 +1553,11 @@
 
        'mobile.special.nearby.styles' => $wgMFResourceFileModuleBoilerplate + 
array(
                'styles' => array(
-                       'less/specials/nearby.less',
+                       'resources/mobile.nearby/specialNearby.less',
                ),
                'skinStyles' => array(
-                       'vector' => 'less/desktop/special/nearby.less',
-                       'monobook' => 'less/desktop/special/nearby.less',
+                       'vector' => 
'resources/mobile.nearby/specialNearbyDesktop.less',
+                       'monobook' => 
'resources/mobile.nearby/specialNearbyDesktop.less',
                ),
        ),
 
diff --git a/javascripts/modules/nearby/Nearby.js 
b/resources/mobile.nearby/Nearby.js
similarity index 100%
rename from javascripts/modules/nearby/Nearby.js
rename to resources/mobile.nearby/Nearby.js
diff --git a/javascripts/modules/nearby/NearbyApi.js 
b/resources/mobile.nearby/NearbyApi.js
similarity index 100%
rename from javascripts/modules/nearby/NearbyApi.js
rename to resources/mobile.nearby/NearbyApi.js
diff --git a/templates/modules/nearby/nearby.hogan 
b/resources/mobile.nearby/nearby.hogan
similarity index 100%
rename from templates/modules/nearby/nearby.hogan
rename to resources/mobile.nearby/nearby.hogan
diff --git a/less/specials/nearby.less 
b/resources/mobile.nearby/specialNearby.less
similarity index 100%
rename from less/specials/nearby.less
rename to resources/mobile.nearby/specialNearby.less
diff --git a/less/desktop/special/nearby.less 
b/resources/mobile.nearby/specialNearbyDesktop.less
similarity index 100%
rename from less/desktop/special/nearby.less
rename to resources/mobile.nearby/specialNearbyDesktop.less
diff --git a/tests/qunit/modules/nearby/test_Nearby.js 
b/tests/qunit/mobile.nearby/test_Nearby.js
similarity index 100%
rename from tests/qunit/modules/nearby/test_Nearby.js
rename to tests/qunit/mobile.nearby/test_Nearby.js
diff --git a/tests/qunit/modules/nearby/test_NearbyApi.js 
b/tests/qunit/mobile.nearby/test_NearbyApi.js
similarity index 100%
rename from tests/qunit/modules/nearby/test_NearbyApi.js
rename to tests/qunit/mobile.nearby/test_NearbyApi.js

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b30622a58d7c8e2da0ddeb773d129f4738f13f9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de>

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

Reply via email to