[MediaWiki-commits] [Gerrit] Hygiene: Watchstar and watchlist - resources folder - change (mediawiki...MobileFrontend)

2015-05-06 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review.

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

Change subject: Hygiene: Watchstar and watchlist - resources folder
..

Hygiene: Watchstar and watchlist - resources folder

Change-Id: I464615b6605c202eefe57370e0eab8dfb150ca7a
---
M includes/Resources.php
R resources/mobile.watchlist/WatchList.js
R resources/mobile.watchlist/WatchListApi.js
R resources/mobile.watchstar.init/init.js
R resources/mobile.watchstar/Watchstar.js
R resources/mobile.watchstar/WatchstarApi.js
R resources/mobile.watchstar/watchstar.less
R tests/qunit/mobile.watchlist/test_WatchList.js
R tests/qunit/mobile.watchlist/test_WatchListApi.js
R tests/qunit/mobile.watchstar/test_Watchstar.js
R tests/qunit/mobile.watchstar/test_WatchstarApi.js
11 files changed, 6 insertions(+), 6 deletions(-)


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

diff --git a/includes/Resources.php b/includes/Resources.php
index 9e19c33..8af935f 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -295,8 +295,8 @@
'mobile.pagelist.scripts',
),
'scripts' = array(
-   'javascripts/modules/watchlist/WatchListApi.js',
-   'javascripts/modules/watchlist/WatchList.js',
+   'resources/mobile.watchlist/WatchListApi.js',
+   'resources/mobile.watchlist/WatchList.js',
),
'messages' = array(
'mobile-frontend-watchlist-modified',
@@ -1021,11 +1021,11 @@
'mobile.loggingSchemas',
),
'scripts' = array(
-   'javascripts/modules/watchstar/WatchstarApi.js',
-   'javascripts/modules/watchstar/Watchstar.js',
+   'resources/mobile.watchstar/WatchstarApi.js',
+   'resources/mobile.watchstar/Watchstar.js',
),
'styles' = array(
-   'less/modules/watchstar.less',
+   'resources/mobile.watchstar/watchstar.less',
),
'messages' = array(
'watchthispage',
@@ -1043,7 +1043,7 @@
'mobile.watchstar',
),
'scripts' = array(
-   'javascripts/modules/watchstar/init.js',
+   'resources/mobile.watchstar.init/init.js',
),
'messages' = array(
'watchthispage',
diff --git a/javascripts/modules/watchlist/WatchList.js 
b/resources/mobile.watchlist/WatchList.js
similarity index 100%
rename from javascripts/modules/watchlist/WatchList.js
rename to resources/mobile.watchlist/WatchList.js
diff --git a/javascripts/modules/watchlist/WatchListApi.js 
b/resources/mobile.watchlist/WatchListApi.js
similarity index 100%
rename from javascripts/modules/watchlist/WatchListApi.js
rename to resources/mobile.watchlist/WatchListApi.js
diff --git a/javascripts/modules/watchstar/init.js 
b/resources/mobile.watchstar.init/init.js
similarity index 100%
rename from javascripts/modules/watchstar/init.js
rename to resources/mobile.watchstar.init/init.js
diff --git a/javascripts/modules/watchstar/Watchstar.js 
b/resources/mobile.watchstar/Watchstar.js
similarity index 100%
rename from javascripts/modules/watchstar/Watchstar.js
rename to resources/mobile.watchstar/Watchstar.js
diff --git a/javascripts/modules/watchstar/WatchstarApi.js 
b/resources/mobile.watchstar/WatchstarApi.js
similarity index 100%
rename from javascripts/modules/watchstar/WatchstarApi.js
rename to resources/mobile.watchstar/WatchstarApi.js
diff --git a/less/modules/watchstar.less 
b/resources/mobile.watchstar/watchstar.less
similarity index 100%
rename from less/modules/watchstar.less
rename to resources/mobile.watchstar/watchstar.less
diff --git a/tests/qunit/modules/watchlist/test_WatchList.js 
b/tests/qunit/mobile.watchlist/test_WatchList.js
similarity index 100%
rename from tests/qunit/modules/watchlist/test_WatchList.js
rename to tests/qunit/mobile.watchlist/test_WatchList.js
diff --git a/tests/qunit/modules/watchlist/test_WatchListApi.js 
b/tests/qunit/mobile.watchlist/test_WatchListApi.js
similarity index 100%
rename from tests/qunit/modules/watchlist/test_WatchListApi.js
rename to tests/qunit/mobile.watchlist/test_WatchListApi.js
diff --git a/tests/qunit/modules/watchstar/test_Watchstar.js 
b/tests/qunit/mobile.watchstar/test_Watchstar.js
similarity index 100%
rename from tests/qunit/modules/watchstar/test_Watchstar.js
rename to tests/qunit/mobile.watchstar/test_Watchstar.js
diff --git a/tests/qunit/modules/watchstar/test_WatchstarApi.js 
b/tests/qunit/mobile.watchstar/test_WatchstarApi.js
similarity index 100%
rename from tests/qunit/modules/watchstar/test_WatchstarApi.js

[MediaWiki-commits] [Gerrit] Hygiene: Watchstar and watchlist - resources folder - change (mediawiki...MobileFrontend)

2015-05-06 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Watchstar and watchlist - resources folder
..


Hygiene: Watchstar and watchlist - resources folder

Change-Id: I464615b6605c202eefe57370e0eab8dfb150ca7a
---
M includes/Resources.php
R resources/mobile.watchlist/WatchList.js
R resources/mobile.watchlist/WatchListApi.js
R resources/mobile.watchstar.init/init.js
R resources/mobile.watchstar/Watchstar.js
R resources/mobile.watchstar/WatchstarApi.js
R resources/mobile.watchstar/watchstar.less
R tests/qunit/mobile.watchlist/test_WatchList.js
R tests/qunit/mobile.watchlist/test_WatchListApi.js
R tests/qunit/mobile.watchstar/test_Watchstar.js
R tests/qunit/mobile.watchstar/test_WatchstarApi.js
11 files changed, 6 insertions(+), 6 deletions(-)

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



diff --git a/includes/Resources.php b/includes/Resources.php
index 9e19c33..8af935f 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -295,8 +295,8 @@
'mobile.pagelist.scripts',
),
'scripts' = array(
-   'javascripts/modules/watchlist/WatchListApi.js',
-   'javascripts/modules/watchlist/WatchList.js',
+   'resources/mobile.watchlist/WatchListApi.js',
+   'resources/mobile.watchlist/WatchList.js',
),
'messages' = array(
'mobile-frontend-watchlist-modified',
@@ -1021,11 +1021,11 @@
'mobile.loggingSchemas',
),
'scripts' = array(
-   'javascripts/modules/watchstar/WatchstarApi.js',
-   'javascripts/modules/watchstar/Watchstar.js',
+   'resources/mobile.watchstar/WatchstarApi.js',
+   'resources/mobile.watchstar/Watchstar.js',
),
'styles' = array(
-   'less/modules/watchstar.less',
+   'resources/mobile.watchstar/watchstar.less',
),
'messages' = array(
'watchthispage',
@@ -1043,7 +1043,7 @@
'mobile.watchstar',
),
'scripts' = array(
-   'javascripts/modules/watchstar/init.js',
+   'resources/mobile.watchstar.init/init.js',
),
'messages' = array(
'watchthispage',
diff --git a/javascripts/modules/watchlist/WatchList.js 
b/resources/mobile.watchlist/WatchList.js
similarity index 100%
rename from javascripts/modules/watchlist/WatchList.js
rename to resources/mobile.watchlist/WatchList.js
diff --git a/javascripts/modules/watchlist/WatchListApi.js 
b/resources/mobile.watchlist/WatchListApi.js
similarity index 100%
rename from javascripts/modules/watchlist/WatchListApi.js
rename to resources/mobile.watchlist/WatchListApi.js
diff --git a/javascripts/modules/watchstar/init.js 
b/resources/mobile.watchstar.init/init.js
similarity index 100%
rename from javascripts/modules/watchstar/init.js
rename to resources/mobile.watchstar.init/init.js
diff --git a/javascripts/modules/watchstar/Watchstar.js 
b/resources/mobile.watchstar/Watchstar.js
similarity index 100%
rename from javascripts/modules/watchstar/Watchstar.js
rename to resources/mobile.watchstar/Watchstar.js
diff --git a/javascripts/modules/watchstar/WatchstarApi.js 
b/resources/mobile.watchstar/WatchstarApi.js
similarity index 100%
rename from javascripts/modules/watchstar/WatchstarApi.js
rename to resources/mobile.watchstar/WatchstarApi.js
diff --git a/less/modules/watchstar.less 
b/resources/mobile.watchstar/watchstar.less
similarity index 100%
rename from less/modules/watchstar.less
rename to resources/mobile.watchstar/watchstar.less
diff --git a/tests/qunit/modules/watchlist/test_WatchList.js 
b/tests/qunit/mobile.watchlist/test_WatchList.js
similarity index 100%
rename from tests/qunit/modules/watchlist/test_WatchList.js
rename to tests/qunit/mobile.watchlist/test_WatchList.js
diff --git a/tests/qunit/modules/watchlist/test_WatchListApi.js 
b/tests/qunit/mobile.watchlist/test_WatchListApi.js
similarity index 100%
rename from tests/qunit/modules/watchlist/test_WatchListApi.js
rename to tests/qunit/mobile.watchlist/test_WatchListApi.js
diff --git a/tests/qunit/modules/watchstar/test_Watchstar.js 
b/tests/qunit/mobile.watchstar/test_Watchstar.js
similarity index 100%
rename from tests/qunit/modules/watchstar/test_Watchstar.js
rename to tests/qunit/mobile.watchstar/test_Watchstar.js
diff --git a/tests/qunit/modules/watchstar/test_WatchstarApi.js 
b/tests/qunit/mobile.watchstar/test_WatchstarApi.js
similarity index 100%
rename from tests/qunit/modules/watchstar/test_WatchstarApi.js
rename to tests/qunit/mobile.watchstar/test_WatchstarApi.js

--