Santhosh has uploaded a new change for review.

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

Change subject: Refactor the feedback tool as a widget module
......................................................................

Refactor the feedback tool as a widget module

Change-Id: I7d64dd5e76eb3bf92b6331f4a0e384fe3cb8b556
---
M Resources.php
R modules/widgets/feedback/ext.cx.feedback.js
R modules/widgets/feedback/images/horn.png
R modules/widgets/feedback/images/horn.svg
R modules/widgets/feedback/styles/ext.cx.feedback.less
5 files changed, 2 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/65/199865/1

diff --git a/Resources.php b/Resources.php
index 7b4e7a2..56a5a1f 100644
--- a/Resources.php
+++ b/Resources.php
@@ -53,10 +53,10 @@
                'ext.cx.model',
        ),
        'scripts' => array(
-               'base/ext.cx.feedback.js',
+               'widgets/feedback/ext.cx.feedback.js',
        ),
        'styles' => array(
-               'base/styles/ext.cx.feedback.less',
+               'widgets/feedback/styles/ext.cx.feedback.less',
        ),
        'messages' => array(
                'cx-feedback-link',
diff --git a/modules/base/ext.cx.feedback.js 
b/modules/widgets/feedback/ext.cx.feedback.js
similarity index 100%
rename from modules/base/ext.cx.feedback.js
rename to modules/widgets/feedback/ext.cx.feedback.js
diff --git a/modules/base/images/horn.png 
b/modules/widgets/feedback/images/horn.png
similarity index 100%
rename from modules/base/images/horn.png
rename to modules/widgets/feedback/images/horn.png
Binary files differ
diff --git a/modules/base/images/horn.svg 
b/modules/widgets/feedback/images/horn.svg
similarity index 100%
rename from modules/base/images/horn.svg
rename to modules/widgets/feedback/images/horn.svg
diff --git a/modules/base/styles/ext.cx.feedback.less 
b/modules/widgets/feedback/styles/ext.cx.feedback.less
similarity index 87%
rename from modules/base/styles/ext.cx.feedback.less
rename to modules/widgets/feedback/styles/ext.cx.feedback.less
index ca3d46c..4c54298 100644
--- a/modules/base/styles/ext.cx.feedback.less
+++ b/modules/widgets/feedback/styles/ext.cx.feedback.less
@@ -1,4 +1,3 @@
-@import "../../widgets/common/ext.cx.common";
 @import "mediawiki.mixins";
 
 .cx-feedback {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d64dd5e76eb3bf92b6331f4a0e384fe3cb8b556
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>

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

Reply via email to