Adrian Lang has uploaded a new change for review.

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

Change subject: Move jquery.ui.tagadata from lib to repo
......................................................................

Move jquery.ui.tagadata from lib to repo

It's only used by jquery.wikibase.aliasesview, which will be moved to repo, too.

Change-Id: I3eacaf0e3a43fe177daa9509bcff2803b963eaf2
---
M lib/resources/Resources.php
M lib/tests/qunit/resources.php
M repo/resources/Resources.php
R repo/resources/jquery.ui/jquery.ui.tagadata.LICENSE
R repo/resources/jquery.ui/jquery.ui.tagadata.css
R repo/resources/jquery.ui/jquery.ui.tagadata.js
R repo/tests/qunit/jquery.ui/jquery.ui.tagadata.tests.js
M repo/tests/qunit/resources.php
8 files changed, 24 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/64/172964/1

diff --git a/lib/resources/Resources.php b/lib/resources/Resources.php
index 72d8d32..6f34f7b 100644
--- a/lib/resources/Resources.php
+++ b/lib/resources/Resources.php
@@ -117,21 +117,6 @@
                        ),
                ),
 
-               'jquery.ui.tagadata' => $moduleTemplate + array(
-                       'scripts' => array(
-                               'jquery.ui/jquery.ui.tagadata.js',
-                       ),
-                       'styles' => array(
-                               'jquery.ui/jquery.ui.tagadata.css',
-                       ),
-                       'dependencies' => array(
-                               'jquery.event.special.eachchange',
-                               'jquery.effects.blind',
-                               'jquery.inputautoexpand',
-                               'jquery.ui.widget',
-                       ),
-               ),
-
                'wikibase.dataTypes' => $moduleTemplate + array(
                        'scripts' => array(
                                'wikibase.dataTypes/wikibase.dataTypes.js',
diff --git a/lib/tests/qunit/resources.php b/lib/tests/qunit/resources.php
index 8d6662d..e43ce11 100644
--- a/lib/tests/qunit/resources.php
+++ b/lib/tests/qunit/resources.php
@@ -53,15 +53,6 @@
                        ),
                ),
 
-               'jquery.ui.tagadata.tests' => $moduleBase + array(
-                       'scripts' => array(
-                               'jquery.ui/jquery.ui.tagadata.tests.js',
-                       ),
-                       'dependencies' => array(
-                               'jquery.ui.tagadata',
-                       ),
-               ),
-
                'wikibase.dataTypes.tests' => $moduleBase + array(
                        'scripts' => array(
                                
'wikibase.dataTypes/wikibase.dataTypes.tests.js',
diff --git a/repo/resources/Resources.php b/repo/resources/Resources.php
index 7895024..e99a924 100644
--- a/repo/resources/Resources.php
+++ b/repo/resources/Resources.php
@@ -25,6 +25,21 @@
 
        $modules = array(
 
+               'jquery.ui.tagadata' => $moduleTemplate + array(
+                       'scripts' => array(
+                               'jquery.ui/jquery.ui.tagadata.js',
+                       ),
+                       'styles' => array(
+                               'jquery.ui/jquery.ui.tagadata.css',
+                       ),
+                       'dependencies' => array(
+                               'jquery.event.special.eachchange',
+                               'jquery.effects.blind',
+                               'jquery.inputautoexpand',
+                               'jquery.ui.widget',
+                       ),
+               ),
+
                'jquery.ui.TemplatedWidget' => $moduleTemplate + array(
                        'scripts' => array(
                                'jquery.ui/jquery.ui.TemplatedWidget.js',
diff --git a/lib/resources/jquery.ui/jquery.ui.tagadata.LICENSE 
b/repo/resources/jquery.ui/jquery.ui.tagadata.LICENSE
similarity index 100%
rename from lib/resources/jquery.ui/jquery.ui.tagadata.LICENSE
rename to repo/resources/jquery.ui/jquery.ui.tagadata.LICENSE
diff --git a/lib/resources/jquery.ui/jquery.ui.tagadata.css 
b/repo/resources/jquery.ui/jquery.ui.tagadata.css
similarity index 100%
rename from lib/resources/jquery.ui/jquery.ui.tagadata.css
rename to repo/resources/jquery.ui/jquery.ui.tagadata.css
diff --git a/lib/resources/jquery.ui/jquery.ui.tagadata.js 
b/repo/resources/jquery.ui/jquery.ui.tagadata.js
similarity index 100%
rename from lib/resources/jquery.ui/jquery.ui.tagadata.js
rename to repo/resources/jquery.ui/jquery.ui.tagadata.js
diff --git a/lib/tests/qunit/jquery.ui/jquery.ui.tagadata.tests.js 
b/repo/tests/qunit/jquery.ui/jquery.ui.tagadata.tests.js
similarity index 100%
rename from lib/tests/qunit/jquery.ui/jquery.ui.tagadata.tests.js
rename to repo/tests/qunit/jquery.ui/jquery.ui.tagadata.tests.js
diff --git a/repo/tests/qunit/resources.php b/repo/tests/qunit/resources.php
index f7c81a0..4bd0868 100644
--- a/repo/tests/qunit/resources.php
+++ b/repo/tests/qunit/resources.php
@@ -17,6 +17,15 @@
 
        $modules = array(
 
+               'jquery.ui.tagadata.tests' => $moduleBase + array(
+                       'scripts' => array(
+                               'jquery.ui/jquery.ui.tagadata.tests.js',
+                       ),
+                       'dependencies' => array(
+                               'jquery.ui.tagadata',
+                       ),
+               ),
+
                'jquery.ui.TemplatedWidget.tests' => $moduleBase + array(
                        'scripts' => array(
                                'jquery.ui/jquery.ui.TemplatedWidget.tests.js',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3eacaf0e3a43fe177daa9509bcff2803b963eaf2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Adrian Lang <[email protected]>

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

Reply via email to