Tpt has uploaded a new change for review.

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

Change subject: Use SVG for icons of the other project sidebar beta feature
......................................................................

Use SVG for icons of the other project sidebar beta feature

Task: T73344
Change-Id: Iaf5081f150afe537ab729ee06f720c621de8fca0
---
M client/WikibaseClient.hooks.php
D client/resources/images/wb-otherprojects-beta-ltr.png
D client/resources/images/wb-otherprojects-beta-rtl.png
A client/resources/images/wb-otherprojects-beta-rtl.svg
4 files changed, 179 insertions(+), 2 deletions(-)


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

diff --git a/client/WikibaseClient.hooks.php b/client/WikibaseClient.hooks.php
index 2de1aba..82a8139 100644
--- a/client/WikibaseClient.hooks.php
+++ b/client/WikibaseClient.hooks.php
@@ -514,8 +514,8 @@
                        'label-message' => 
'wikibase-otherprojects-beta-message',
                        'desc-message' => 
'wikibase-otherprojects-beta-description',
                        'screenshot' => array(
-                               'ltr' => $assetsPath . 
'/resources/images/wb-otherprojects-beta-ltr.png',
-                               'rtl' => $assetsPath . 
'/resources/images/wb-otherprojects-beta-rtl.png'
+                               'ltr' => $assetsPath . 
'/resources/images/wb-otherprojects-beta-ltr.svg',
+                               'rtl' => $assetsPath . 
'/resources/images/wb-otherprojects-beta-rtl.svg'
                        ),
                        'info-link' => 
'https://www.mediawiki.org/wiki/Wikibase/Beta_Features/Other_projects_sidebar',
                        'discussion-link' => 
'https://www.mediawiki.org/wiki/Talk:Wikibase/Beta_Features/Other_projects_sidebar'
diff --git a/client/resources/images/wb-otherprojects-beta-ltr.png 
b/client/resources/images/wb-otherprojects-beta-ltr.png
deleted file mode 100644
index 30f9cb1..0000000
--- a/client/resources/images/wb-otherprojects-beta-ltr.png
+++ /dev/null
Binary files differ
diff --git a/client/resources/images/wb-otherprojects-beta-rtl.png 
b/client/resources/images/wb-otherprojects-beta-rtl.png
deleted file mode 100644
index 30d038f..0000000
--- a/client/resources/images/wb-otherprojects-beta-rtl.png
+++ /dev/null
Binary files differ
diff --git a/client/resources/images/wb-otherprojects-beta-rtl.svg 
b/client/resources/images/wb-otherprojects-beta-rtl.svg
new file mode 100644
index 0000000..afa53a2
--- /dev/null
+++ b/client/resources/images/wb-otherprojects-beta-rtl.svg
@@ -0,0 +1,177 @@
+<?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="264"
+   height="162"
+   viewBox="0 0 264 162"
+   id="svg2">
+  <title
+     id="title4">Slice 1</title>
+  <metadata
+     id="metadata59">
+    <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>Slice 1</dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <description
+     id="description6">Created with Sketch.</description>
+  <defs
+     id="defs8" />
+  <g
+     transform="matrix(-1,0,0,1,264,0)"
+     id="Page-1"
+     style="fill:none;stroke:none">
+    <g
+       id="Group">
+      <path
+         d="M 24.833,151.362 13.366,161.357 0.5,151.749 0.5,0.5 l 263,0 
0,151.749 -9,6.705 0,-116.454 -39,0 0,112.6 -4.393,-3.731 -7.607,5.33 
0,-114.199 -155,0 0,110.849 -9.751,8.031 -13.916,-10.018 z"
+         id="Shape"
+         style="fill:#ffffff" />
+      <path
+         d="m 263,1 0,150.998 -8,5.96 0,-114.958 0,-1 -1,0 -38,0 -1,0 0,1 
0,111.019 -3.274,-2.779 -0.589,-0.499 -0.633,0.44 L 204,155.738 204,43 l 0,-1 
-1,0 -154,0 -1,0 0,1 0,110.099 -9.257,7.661 -13.295,-9.569 -0.644,-0.465 
-0.598,0.521 -10.864,9.47 L 1,151.499 1,1 263,1 263,1 z M 264,0 0,0 0,152 
13.391,162 24.864,152 38.755,162 49,153.6 49,43 l 154,0 0,114.66 8.078,-5.66 
4.922,4.18 0,-113.18 38,0 0,116.95 10,-7.45 0,-152.5 0,0 0,0 0,0 z"
+         id="path13"
+         style="fill:#e5e5e5" />
+    </g>
+    <path
+       d="M 203,157.66 203,43 49,43 l 0,110.6 2.145,-1.6 12.555,10 13.809,-10 
14.229,10 12.972,-10 12.973,10 13.811,-10 12.136,10 13.391,-10 14.229,10 
12.972,-10 12.974,10 5.804,-4.34 0,0 0,0 0,0 z"
+       id="path15"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 11,36 c 0,-7.732 6.268,-14 14,-14 7.732,0 14,6.268 14,14 0,7.732 
-6.268,14 -14,14 -7.732,0 -14,-6.268 -14,-14 0,0 0,7.732 0,0 l 0,0 0,0 z"
+       id="Ellipse"
+       style="fill:#e5e5e5" />
+    <path
+       d="M 254,159.95 254,43 l -38,0 0,113.18 7.551,5.82 13.811,-10 13.891,10 
2.747,-2.05 0,0 0,0 0,0 z"
+       id="path18"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 38,99 0,-27 -25,0 0,27 25,0 0,0 0,0 0,0 z"
+       id="path20"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 38,136 0,-16 -25,0 0,16 25,0 0,0 0,0 0,0 z"
+       id="Shape-2"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 38,117 0,-16 -25,0 0,16 25,0 0,0 0,0 0,0 z"
+       id="Shape-3"
+       style="fill:#347bff" />
+    <path
+       d="m 233,5 26,0 0,6 -26,0 0,-6 0,0 0,0 0,0 z"
+       id="path24"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 142,6 0,4 -92,0 0,-4 92,0 0,0 z m 1,-1 -94,0 0,6 94,0 0,-6 0,0 0,0 
0,0 z"
+       id="path26"
+       style="fill:#e5e5e5" />
+    <rect
+       width="32"
+       height="6"
+       x="9"
+       y="5"
+       id="Rectangle"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 2,15 260,0"
+       id="path29"
+       style="fill:#e5e5e5;stroke:#e5e5e5" />
+    <rect
+       width="2"
+       height="2"
+       x="52"
+       y="7"
+       id="rect31"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 38,59 0,-5 -25,0 0,5 25,0 0,0 0,0 0,0 z"
+       id="path33"
+       style="fill:#e5e5e5" />
+    <path
+       d="m 228.51,5 0,6 -12.51,0 0,-6 12.51,0 z"
+       id="Path-3"
+       style="fill:#d8d8d8" />
+    <path
+       d="m 212.51,5 0,6 -12.51,0 0,-6 12.51,0 z"
+       id="Path-2"
+       style="fill:#d8d8d8" />
+    <path
+       d="m 196.51,5 0,6 -12.51,0 0,-6 12.51,0 z"
+       id="Path-4"
+       style="fill:#d8d8d8" />
+    <g
+       
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,33.646447,100.61091)"
+       id="Triangle-1-+-Rectangle-23"
+       style="fill:#ffffff">
+      <polygon
+         points="0,3 3,0 6,3 "
+         id="Triangle-1" />
+      <rect
+         width="2"
+         height="2.5"
+         x="2"
+         y="2.5"
+         id="Rectangle-23" />
+    </g>
+    <g
+       
transform="matrix(-0.70710678,0.70710678,-0.70710678,-0.70710678,37.889087,112.14645)"
+       id="Triangle-1-+-Rectangle-26"
+       style="fill:#ffffff">
+      <polygon
+         points="0,3 3,0 6,3 "
+         id="polygon42" />
+      <rect
+         width="2"
+         height="2.5"
+         x="2"
+         y="2.5"
+         id="rect44" />
+    </g>
+    <g
+       
transform="matrix(-0.70710678,-0.70710678,0.70710678,-0.70710678,17.353553,116.38909)"
+       id="Triangle-1-+-Rectangle-24"
+       style="fill:#ffffff">
+      <polygon
+         points="0,3 3,0 6,3 "
+         id="polygon47" />
+      <rect
+         width="2"
+         height="2.5"
+         x="2"
+         y="2.5"
+         id="rect49" />
+    </g>
+    <g
+       
transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,13.110913,104.85355)"
+       id="Triangle-1-+-Rectangle-25"
+       style="fill:#ffffff">
+      <polygon
+         points="0,3 3,0 6,3 "
+         id="polygon52" />
+      <rect
+         width="2"
+         height="2.5"
+         x="2"
+         y="2.5"
+         id="rect54" />
+    </g>
+    <circle
+       cx="25.5"
+       cy="108.5"
+       r="3.5"
+       id="Oval-2"
+       style="fill:#ffffff" />
+  </g>
+</svg>

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

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

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

Reply via email to