[MediaWiki-commits] [Gerrit] Migrate VE icon from VE extension - change (mediawiki...Math)

2014-06-21 Thread TheDJ (Code Review)
TheDJ has submitted this change and it was merged.

Change subject: Migrate VE icon from VE extension
..


Migrate VE icon from VE extension

Removed from VE with Ic8074be2.

Change-Id: I33cdb6204b4abc44398ecedd65f7d9251e73e9b0
---
M Math.php
A modules/VisualEditor/math.svg
A modules/VisualEditor/ve.ui.MWMathIcons.css
3 files changed, 15 insertions(+), 0 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  Physikerwelt: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/Math.php b/Math.php
index 8acff0e..c3d244b 100644
--- a/Math.php
+++ b/Math.php
@@ -483,6 +483,9 @@
'VisualEditor/ve.ui.MWMathInspector.js',
'VisualEditor/ve.ui.MWMathInspectorTool.js',
),
+   'styles' = array(
+   'VisualEditor/ve.ui.MWMathIcons.css',
+   ),
'dependencies' = array(
'ext.visualEditor.mwcore',
),
diff --git a/modules/VisualEditor/math.svg b/modules/VisualEditor/math.svg
new file mode 100644
index 000..c5ac601
--- /dev/null
+++ b/modules/VisualEditor/math.svg
@@ -0,0 +1,8 @@
+?xml version=1.0 encoding=iso-8859-1?
+!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN 
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;
+svg version=1.1 xmlns=http://www.w3.org/2000/svg; 
xmlns:xlink=http://www.w3.org/1999/xlink; x=0px y=0px width=24px
+height=24px viewBox=0 0 24 24 style=enable-background:new 0 0 24 24; 
xml:space=preserve
+g id=math style=opacity:0.75
+   path id=sigma d=M 13.609,11.391 10.004,16.004 16,16 l 0,-1 1,0 0,3 
-10,0 5,-6 -5,-6 10,0 0,3 -1,0 0,-2 -6,0 3.609,4.391 /
+/g
+/svg
diff --git a/modules/VisualEditor/ve.ui.MWMathIcons.css 
b/modules/VisualEditor/ve.ui.MWMathIcons.css
new file mode 100644
index 000..5b75dba
--- /dev/null
+++ b/modules/VisualEditor/ve.ui.MWMathIcons.css
@@ -0,0 +1,4 @@
+.oo-ui-icon-math {
+   /* @embed */
+   background-image: url(math.svg);
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I33cdb6204b4abc44398ecedd65f7d9251e73e9b0
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org
Gerrit-Reviewer: Catrope roan.katt...@gmail.com
Gerrit-Reviewer: Krinkle krinklem...@gmail.com
Gerrit-Reviewer: Physikerwelt w...@physikerwelt.de
Gerrit-Reviewer: TheDJ hartman.w...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Migrate VE icon from VE extension - change (mediawiki...Math)

2014-06-19 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: Migrate VE icon from VE extension
..

Migrate VE icon from VE extension

Removed from VE with Ic8074be2.

Change-Id: I33cdb6204b4abc44398ecedd65f7d9251e73e9b0
---
M Math.php
A modules/VisualEditor/math.svg
A modules/VisualEditor/ve.ui.MWMathIcons.css
3 files changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/93/140693/1

diff --git a/Math.php b/Math.php
index 8acff0e..c3d244b 100644
--- a/Math.php
+++ b/Math.php
@@ -483,6 +483,9 @@
'VisualEditor/ve.ui.MWMathInspector.js',
'VisualEditor/ve.ui.MWMathInspectorTool.js',
),
+   'styles' = array(
+   'VisualEditor/ve.ui.MWMathIcons.css',
+   ),
'dependencies' = array(
'ext.visualEditor.mwcore',
),
diff --git a/modules/VisualEditor/math.svg b/modules/VisualEditor/math.svg
new file mode 100644
index 000..c5ac601
--- /dev/null
+++ b/modules/VisualEditor/math.svg
@@ -0,0 +1,8 @@
+?xml version=1.0 encoding=iso-8859-1?
+!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN 
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;
+svg version=1.1 xmlns=http://www.w3.org/2000/svg; 
xmlns:xlink=http://www.w3.org/1999/xlink; x=0px y=0px width=24px
+height=24px viewBox=0 0 24 24 style=enable-background:new 0 0 24 24; 
xml:space=preserve
+g id=math style=opacity:0.75
+   path id=sigma d=M 13.609,11.391 10.004,16.004 16,16 l 0,-1 1,0 0,3 
-10,0 5,-6 -5,-6 10,0 0,3 -1,0 0,-2 -6,0 3.609,4.391 /
+/g
+/svg
diff --git a/modules/VisualEditor/ve.ui.MWMathIcons.css 
b/modules/VisualEditor/ve.ui.MWMathIcons.css
new file mode 100644
index 000..5b75dba
--- /dev/null
+++ b/modules/VisualEditor/ve.ui.MWMathIcons.css
@@ -0,0 +1,4 @@
+.oo-ui-icon-math {
+   /* @embed */
+   background-image: url(math.svg);
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33cdb6204b4abc44398ecedd65f7d9251e73e9b0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org

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