Ori.livneh has uploaded a new change for review.

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

Change subject: Optimize SVGs
......................................................................

Optimize SVGs

Done using svgo version 0.5.2, invoked with '--multipass'.

Change-Id: I1abc7a798ef793536dc9262e40f164b2e77e4ea8
---
M resources/mmv/img/down.svg
M resources/mmv/img/expand.svg
M resources/mmv/img/gear_gray.svg
M resources/mmv/img/x_gray.svg
4 files changed, 4 insertions(+), 63 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer 
refs/changes/22/254922/1

diff --git a/resources/mmv/img/down.svg b/resources/mmv/img/down.svg
index ee9df02..2171358 100644
--- a/resources/mmv/img/down.svg
+++ b/resources/mmv/img/down.svg
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg"; 
width="12" height="12" viewBox="0 0 12 12"><path fill="#fff" 
fill-rule="evenodd" clip-rule="evenodd" d="M2.023 3l3.489 5.953 
3.488-5.953z"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg"; width="12" height="12" viewBox="0 0 12 
12"><path fill="#fff" fill-rule="evenodd" clip-rule="evenodd" d="M2.023 3l3.49 
5.953L9 3z"/></svg>
\ No newline at end of file
diff --git a/resources/mmv/img/expand.svg b/resources/mmv/img/expand.svg
index 83978aa..d52411d 100644
--- a/resources/mmv/img/expand.svg
+++ b/resources/mmv/img/expand.svg
@@ -1,32 +1 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/";
-   xmlns:cc="http://creativecommons.org/ns#";
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-   xmlns:svg="http://www.w3.org/2000/svg";
-   xmlns="http://www.w3.org/2000/svg";
-   version="1.1"
-   width="100%"
-   height="100%"
-   viewBox="0 0 1024 768"
-   id="Layer_1"
-   xml:space="preserve"><metadata
-     id="metadata17"><rdf:RDF><cc:Work
-         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; 
/><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
-     id="defs15" /><g
-     id="g3"><polygon
-       points="851.2,71.6 690.7,232.1 650.6,191.8 641,356.6 805.8,347.3 
765.5,306.9 926,146.4 984.5,204.9 997.6,0 792.7,13.1 "
-       id="polygon5"
-       style="fill:#777777" /><polygon
-       points="769.6,89.3 611.9,89.3 682.8,160.1 690.7,167.6 "
-       id="polygon7"
-       style="fill:#777777" /><path
-       d="m 643.6,402.2 -51.2,3 3,-51.2 9.4,-164.4 5.8,-100.3 H 26.4 V 768 H 
909.5 V 387 l -100.9,5.8 -165,9.4 z M 813.9,678 H 113.6 l 207.2,-270.2 
31.5,-12.9 195.7,204.9 105.9,-63.2 159.8,140.8 0.2,0.6 0,0 z"
-       id="path9"
-       style="fill:#777777" /><polygon
-       points="909.5,386.1 909.5,228 830.4,306.9 838.2,314.8 "
-       id="polygon11"
-       style="fill:#777777" /></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 1024 768"><g 
fill="#777"><path d="M851.2 71.6L690.7 232.1l-40.1-40.3-9.6 164.8 
164.8-9.3-40.3-40.4L926 146.4l58.5 58.5L997.6 0 792.7 13.1"/><path d="M769.6 
89.3H611.9l70.9 70.8 7.9 7.5m-47.1 234.6l-51.2 3 3-51.2 9.4-164.4 
5.8-100.3H26.4V768h883.1V387l-100.9 5.8-165 9.4zM813.9 678H113.6l207.2-270.2 
31.5-12.9L548 599.8l105.9-63.2 159.8 140.8.2.6zm95.6-291.9V228l-79.1 78.9 7.8 
7.9"/></g></svg>
\ No newline at end of file
diff --git a/resources/mmv/img/gear_gray.svg b/resources/mmv/img/gear_gray.svg
index 1094aa6..319aadd 100644
--- a/resources/mmv/img/gear_gray.svg
+++ b/resources/mmv/img/gear_gray.svg
@@ -1,22 +1 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/";
-   xmlns:cc="http://creativecommons.org/ns#";
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-   xmlns:svg="http://www.w3.org/2000/svg";
-   xmlns="http://www.w3.org/2000/svg";
-   version="1.1"
-   width="100%"
-   height="100%"
-   viewBox="0 0 1024 768"
-   id="Layer_1"
-   xml:space="preserve"><metadata
-     id="metadata9"><rdf:RDF><cc:Work
-         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; 
/><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
-     id="defs7" /><path
-     d="M 897,454.6 V 313.4 L 810.4,299 c -6.4,-23.3 -16,-45.7 -27.3,-65.8 L 
833.6,161.8 734.2,61.6 662.8,112.1 C 641.9,100.9 620.3,91.2 597,84.8 L 582.6,-1 
H 441.4 L 427,85.6 c -23.3,6.4 -45.7,16 -65.8,27.3 L 289.8,62.4 189.5,161.9 
240,233.3 c -11.2,20.9 -20.9,42.5 -27.3,66.6 L 127,313.4 v 141.2 l 85.8,14.4 c 
6.4,23.3 16,45.7 27.3,66.6 l -50.5,71.4 99.5,99.5 71.4,-50.5 c 20.9,11.2 
42.5,20.9 66.6,27.3 l 14.4,85.8 h 141.2 l 14.4,-86.6 c 23.3,-6.4 45.7,-16 
65.8,-27.3 l 71.4,50.5 99.5,-99.5 -50.5,-71.4 c 11.2,-20.9 20.9,-42.5 
27.3,-66.6 L 897,454.6 z m -385,77 C 430.2,531.6 364.4,465 364.4,384 
364.4,302.2 431,236.4 512,236.4 c 81,0 147.6,65.8 147.6,147.6 0,81.8 
-65.8,147.6 -147.6,147.6 z"
-     id="path3"
-     style="fill:#777777" /></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 1024 768"><path d="M897 
454.6V313.4L810.4 299c-6.4-23.3-16-45.7-27.3-65.8l50.5-71.4-99.4-100.2-71.4 
50.5c-20.9-11.2-42.5-20.9-65.8-27.3L582.6-1H441.4L427 85.6c-23.3 6.4-45.7 
16-65.8 27.3l-71.4-50.5-100.3 99.5 50.5 71.4c-11.2 20.9-20.9 42.5-27.3 66.6L127 
313.4v141.2l85.8 14.4c6.4 23.3 16 45.7 27.3 66.6L189.6 607l99.5 99.5 
71.4-50.5c20.9 11.2 42.5 20.9 66.6 27.3l14.4 85.8h141.2l14.4-86.6c23.3-6.4 
45.7-16 65.8-27.3l71.4 50.5 99.5-99.5-50.5-71.4c11.2-20.9 20.9-42.5 
27.3-66.6l86.4-13.6zm-385 77c-81.8 0-147.6-66.6-147.6-147.6 0-81.8 66.6-147.6 
147.6-147.6S659.6 302.2 659.6 384 593.8 531.6 512 531.6z" fill="#777"/></svg>
\ No newline at end of file
diff --git a/resources/mmv/img/x_gray.svg b/resources/mmv/img/x_gray.svg
index 9dc00fe..b8dcb57 100644
--- a/resources/mmv/img/x_gray.svg
+++ b/resources/mmv/img/x_gray.svg
@@ -1,8 +1 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 
6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px"
-        viewBox="0 0 612 792" enable-background="new 0 0 612 792" 
xml:space="preserve">
-<polygon fill="#777777" points="612,179.2 522.8,90 306,306.8 89.2,90 0,179.2 
216.8,396 0,612.8 89.2,702 306,485.2 522.8,702 
-       612,612.8 395.2,396 "/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 612 792"><path 
fill="#777" d="M612 179.2L522.8 90 306 306.8 89.2 90 0 179.2 216.8 396 0 612.8 
89.2 702 306 485.2 522.8 702l89.2-89.2L395.2 396"/></svg>
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1abc7a798ef793536dc9262e40f164b2e77e4ea8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

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

Reply via email to