jenkins-bot has submitted this change and it was merged.
Change subject: Use SVG for icons of the other project sidebar beta feature
......................................................................
Use SVG for icons of the other project sidebar beta feature
Bug: T73344
Change-Id: Iaf5081f150afe537ab729ee06f720c621de8fca0
---
M client/WikibaseClient.hooks.php
D client/resources/images/wb-otherprojects-beta-ltr.png
M client/resources/images/wb-otherprojects-beta-ltr.svg
D client/resources/images/wb-otherprojects-beta-rtl.png
A client/resources/images/wb-otherprojects-beta-rtl.svg
5 files changed, 77 insertions(+), 39 deletions(-)
Approvals:
Hoo man: Looks good to me, approved
Jaredzimmerman: Looks good to me, but someone else must approve
jenkins-bot: Verified
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-ltr.svg
b/client/resources/images/wb-otherprojects-beta-ltr.svg
index 1af7315..776d642 100644
--- a/client/resources/images/wb-otherprojects-beta-ltr.svg
+++ b/client/resources/images/wb-otherprojects-beta-ltr.svg
@@ -1,45 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg width="264px" height="162px" viewBox="0 0 264 162" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="264px" height="162px"
viewBox="0 0 264 162" version="1.1">
<!-- Generator: Sketch 3.0.1 (7597) - http://www.bohemiancoding.com/sketch
-->
- <title>Slice 1</title>
- <description>Created with Sketch.</description>
- <defs/>
- <g id="Page-1" stroke="none" stroke-width="1" fill="none"
fill-rule="evenodd" sketch:type="MSPage">
- <g id="Group" sketch:type="MSLayerGroup">
- <path d="M24.833,151.362 L13.366,161.357 L0.5,151.749 L0.5,0.5
L263.5,0.5 L263.5,152.249 L254.5,158.954 L254.5,42.5 L215.5,42.5 L215.5,155.1
L211.107,151.369 L203.5,156.699 L203.5,42.5 L48.5,42.5 L48.5,153.349
L38.749,161.38 L24.833,151.362 Z" id="Shape" fill="#FFFFFF"
sketch:type="MSShapeGroup"/>
- <path d="M263,1 L263,151.998 L255,157.958 L255,43 L255,42 L254,42
L216,42 L215,42 L215,43 L215,154.019 L211.726,151.24 L211.137,150.741
L210.504,151.181 L204,155.738 L204,43 L204,42 L203,42 L49,42 L48,42 L48,43
L48,153.099 L38.743,160.76 L25.448,151.191 L24.804,150.726 L24.206,151.247
L13.342,160.717 L1,151.499 L1,1 L263,1 L263,1 Z M264,0 L0,0 L0,152 L13.391,162
L24.864,152 L38.755,162 L49,153.6 L49,43 L203,43 L203,157.66 L211.078,152
L216,156.18 L216,43 L254,43 L254,159.95 L264,152.5 L264,0 L264,0 L264,0 L264,0
Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g>
+ <path d="M24.833 151.362 L13.366 161.357 L0.5 151.749 L0.5 0.5
L263.5 0.5 L263.5 152.249 L254.5 158.954 L254.5 42.5 L215.5 42.5 L215.5 155.1
L211.107 151.369 L203.5 156.699 L203.5 42.5 L48.5 42.5 L48.5 153.349 L38.749
161.38 L24.833 151.362 Z" fill="#FFFFFF"/>
+ <path d="M263 1 L263 151.998 L255 157.958 L255 43 L255 42 L254 42
L216 42 L215 42 L215 43 L215 154.019 L211.726 151.24 L211.137 150.741 L210.504
151.181 L204 155.738 L204 43 L204 42 L203 42 L49 42 L48 42 L48 43 L48 153.099
L38.743 160.76 L25.448 151.191 L24.804 150.726 L24.206 151.247 L13.342 160.717
L1 151.499 L1 1 L263 1 L263 1 Z M264 0 L0 0 L0 152 L13.391 162 L24.864 152
L38.755 162 L49 153.6 L49 43 L203 43 L203 157.66 L211.078 152 L216 156.18 L216
43 L254 43 L254 159.95 L264 152.5 L264 0 L264 0 L264 0 L264 0 Z"
fill="#E5E5E5"/>
</g>
- <path d="M203,157.66 L203,43 L49,43 L49,153.6 L51.145,152 L63.7,162
L77.509,152 L91.738,162 L104.71,152 L117.683,162 L131.494,152 L143.63,162
L157.021,152 L171.25,162 L184.222,152 L197.196,162 L203,157.66 L203,157.66
L203,157.66 L203,157.66 Z" id="Shape" fill="#E5E5E5"
sketch:type="MSShapeGroup"/>
- <path d="M11,36 C11,28.268 17.268,22 25,22 C32.732,22 39,28.268 39,36
C39,43.732 32.732,50 25,50 C17.268,50 11,43.732 11,36 C11,36 11,43.732 11,36
L11,36 L11,36 Z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M254,159.95 L254,43 L216,43 L216,156.18 L223.551,162
L237.362,152 L251.253,162 L254,159.95 L254,159.95 L254,159.95 L254,159.95 Z"
id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M38,99 L38,72 L13,72 L13,99 L38,99 L38,99 L38,99 L38,99 Z"
id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M38,136 L38,120 L13,120 L13,136 L38,136 L38,136 L38,136
L38,136 Z" id="Shape-2" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M38,117 L38,101 L13,101 L13,117 L38,117 L38,117 L38,117
L38,117 Z" id="Shape-3" fill="#347BFF" sketch:type="MSShapeGroup"/>
- <path d="M233,5 L259,5 L259,11 L233,11 L233,5 L233,5 L233,5 L233,5 Z"
id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M142,6 L142,10 L50,10 L50,6 L142,6 L142,6 Z M143,5 L49,5
L49,11 L143,11 L143,5 L143,5 L143,5 L143,5 Z" id="Shape" fill="#E5E5E5"
sketch:type="MSShapeGroup"/>
- <rect id="Rectangle" fill="#E5E5E5" sketch:type="MSShapeGroup" x="9"
y="5" width="32" height="6"/>
- <path d="M2,15 L262,15" id="Shape" stroke="#E5E5E5" fill="#E5E5E5"
sketch:type="MSShapeGroup"/>
- <rect id="Rectangle" fill="#E5E5E5" sketch:type="MSShapeGroup" x="52"
y="7" width="2" height="2"/>
- <path d="M38,59 L38,54 L13,54 L13,59 L38,59 L38,59 L38,59 L38,59 Z"
id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
- <path d="M228.51,5 L228.51,11 L216,11 L216,5 L228.51,5 Z" id="Path-3"
fill="#D8D8D8" sketch:type="MSShapeGroup"/>
- <path d="M212.51,5 L212.51,11 L200,11 L200,5 L212.51,5 Z" id="Path-2"
fill="#D8D8D8" sketch:type="MSShapeGroup"/>
- <path d="M196.51,5 L196.51,11 L184,11 L184,5 L196.51,5 Z" id="Path-4"
fill="#D8D8D8" sketch:type="MSShapeGroup"/>
- <g id="Triangle-1-+-Rectangle-23" sketch:type="MSLayerGroup"
transform="translate(34.000000, 104.500000) rotate(-315.000000)
translate(-34.000000, -104.500000) translate(31.000000, 102.000000)"
fill="#FFFFFF">
- <polygon id="Triangle-1" sketch:type="MSShapeGroup" points="3 0 6
3 0 3 "/>
- <rect id="Rectangle-23" sketch:type="MSShapeGroup" x="2" y="2.5"
width="2" height="2.5"/>
+ <path d="M203 157.66 L203 43 L49 43 L49 153.6 L51.145 152 L63.7 162
L77.509 152 L91.738 162 L104.71 152 L117.683 162 L131.494 152 L143.63 162
L157.021 152 L171.25 162 L184.222 152 L197.196 162 L203 157.66 L203 157.66 L203
157.66 L203 157.66 Z" fill="#E5E5E5"/>
+ <path d="M11 36 C11 28.268 17.268 22 25 22 C32.732 22 39 28.268 39 36
C39 43.732 32.732 50 25 50 C17.268 50 11 43.732 11 36 C11 36 11 43.732 11 36
L11 36 L11 36 Z" fill="#E5E5E5"/>
+ <path d="M254 159.95 L254 43 L216 43 L216 156.18 L223.551 162 L237.362
152 L251.253 162 L254 159.95 L254 159.95 L254 159.95 L254 159.95 Z"
fill="#E5E5E5"/>
+ <path d="M38 99 L38 72 L13 72 L13 99 L38 99 L38 99 L38 99 L38 99 Z"
fill="#E5E5E5"/>
+ <path d="M38 136 L38 120 L13 120 L13 136 L38 136 L38 136 L38 136 L38
136 Z" fill="#E5E5E5"/>
+ <path d="M38 117 L38 101 L13 101 L13 117 L38 117 L38 117 L38 117 L38
117 Z" fill="#347BFF"/>
+ <path d="M233 5 L259 5 L259 11 L233 11 L233 5 L233 5 L233 5 L233 5 Z"
fill="#E5E5E5"/>
+ <path d="M142 6 L142 10 L50 10 L50 6 L142 6 L142 6 Z M143 5 L49 5 L49
11 L143 11 L143 5 L143 5 L143 5 L143 5 Z" fill="#E5E5E5"/>
+ <rect fill="#E5E5E5" x="9" y="5" width="32" height="6"/>
+ <path d="M2 15 L262 15" stroke="#E5E5E5" fill="#E5E5E5"/>
+ <rect fill="#E5E5E5" x="52" y="7" width="2" height="2"/>
+ <path d="M38 59 L38 54 L13 54 L13 59 L38 59 L38 59 L38 59 L38 59 Z"
fill="#E5E5E5"/>
+ <path d="M228.51 5 L228.51 11 L216 11 L216 5 L228.51 5 Z"
fill="#D8D8D8"/>
+ <path d="M212.51 5 L212.51 11 L200 11 L200 5 L212.51 5 Z"
fill="#D8D8D8"/>
+ <path d="M196.51 5 L196.51 11 L184 11 L184 5 L196.51 5 Z"
fill="#D8D8D8"/>
+ <g transform="translate(34.000000, 104.500000) rotate(-315.000000)
translate(-34.000000, -104.500000) translate(31.000000, 102.000000)"
fill="#FFFFFF">
+ <polygon points="3,0 6,3 0,3"/>
+ <rect x="2" y="2.5" width="2" height="2.5"/>
</g>
- <g id="Triangle-1-+-Rectangle-26" sketch:type="MSLayerGroup"
transform="translate(34.000000, 112.500000) rotate(-225.000000)
translate(-34.000000, -112.500000) translate(31.000000, 110.000000)"
fill="#FFFFFF">
- <polygon id="Triangle-1" sketch:type="MSShapeGroup" points="3 0 6
3 0 3 "/>
- <rect id="Rectangle-23" sketch:type="MSShapeGroup" x="2" y="2.5"
width="2" height="2.5"/>
+ <g transform="translate(34.000000, 112.500000) rotate(-225.000000)
translate(-34.000000, -112.500000) translate(31.000000, 110.000000)"
fill="#FFFFFF">
+ <polygon points="3,0 6,3 0,3"/>
+ <rect x="2" y="2.5" width="2" height="2.5"/>
</g>
- <g id="Triangle-1-+-Rectangle-24" sketch:type="MSLayerGroup"
transform="translate(17.000000, 112.500000) rotate(-135.000000)
translate(-17.000000, -112.500000) translate(14.000000, 110.000000)"
fill="#FFFFFF">
- <polygon id="Triangle-1" sketch:type="MSShapeGroup" points="3 0 6
3 0 3 "/>
- <rect id="Rectangle-23" sketch:type="MSShapeGroup" x="2" y="2.5"
width="2" height="2.5"/>
+ <g transform="translate(17.000000, 112.500000) rotate(-135.000000)
translate(-17.000000, -112.500000) translate(14.000000, 110.000000)"
fill="#FFFFFF">
+ <polygon points="3,0 6,3 0,3"/>
+ <rect x="2" y="2.5" width="2" height="2.5"/>
</g>
- <g id="Triangle-1-+-Rectangle-25" sketch:type="MSLayerGroup"
transform="translate(17.000000, 104.500000) rotate(-45.000000)
translate(-17.000000, -104.500000) translate(14.000000, 102.000000)"
fill="#FFFFFF">
- <polygon id="Triangle-1" sketch:type="MSShapeGroup" points="3 0 6
3 0 3 "/>
- <rect id="Rectangle-23" sketch:type="MSShapeGroup" x="2" y="2.5"
width="2" height="2.5"/>
+ <g transform="translate(17.000000, 104.500000) rotate(-45.000000)
translate(-17.000000, -104.500000) translate(14.000000, 102.000000)"
fill="#FFFFFF">
+ <polygon points="3,0 6,3 0,3"/>
+ <rect x="2" y="2.5" width="2" height="2.5"/>
</g>
- <circle id="Oval-2" fill="#FFFFFF" sketch:type="MSShapeGroup"
cx="25.5" cy="108.5" r="3.5"/>
+ <circle fill="#FFFFFF" cx="25.5" cy="108.5" r="3.5"/>
</g>
-</svg>
\ No newline at end of file
+</svg>
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..b444b54
--- /dev/null
+++ b/client/resources/images/wb-otherprojects-beta-rtl.svg
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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">
+ <g transform="matrix(-1,0,0,1,264,0)" style="fill:none;stroke:none">
+ <g>
+ <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" 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" 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" 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"
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" style="fill:#e5e5e5"/>
+ <path d="m 38 99 0 -27 -25 0 0 27 25 0 0 0 0 0 0 0 z"
style="fill:#e5e5e5"/>
+ <path d="m 38 136 0 -16 -25 0 0 16 25 0 0 0 0 0 0 0 z"
style="fill:#e5e5e5"/>
+ <path d="m 38 117 0 -16 -25 0 0 16 25 0 0 0 0 0 0 0 z"
style="fill:#347bff"/>
+ <path d="m 233 5 26 0 0 6 -26 0 0 -6 0 0 0 0 0 0 z" 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" style="fill:#e5e5e5"/>
+ <rect width="32" height="6" x="9" y="5" style="fill:#e5e5e5"/>
+ <path d="m 2 15 260 0" style="fill:#e5e5e5;stroke:#e5e5e5"/>
+ <rect width="2" height="2" x="52" y="7" style="fill:#e5e5e5"/>
+ <path d="m 38 59 0 -5 -25 0 0 5 25 0 0 0 0 0 0 0 z" style="fill:#e5e5e5"/>
+ <path d="m 228.51 5 0 6 -12.51 0 0 -6 12.51 0 z" style="fill:#d8d8d8"/>
+ <path d="m 212.51 5 0 6 -12.51 0 0 -6 12.51 0 z" style="fill:#d8d8d8"/>
+ <path d="m 196.51 5 0 6 -12.51 0 0 -6 12.51 0 z" style="fill:#d8d8d8"/>
+ <g
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,33.646447,100.61091)"
style="fill:#ffffff">
+ <polygon points="0,3 3,0 6,3"/>
+ <rect width="2" height="2.5" x="2" y="2.5"/>
+ </g>
+ <g
transform="matrix(-0.70710678,0.70710678,-0.70710678,-0.70710678,37.889087,112.14645)"
style="fill:#ffffff">
+ <polygon points="0,3 3,0 6,3"/>
+ <rect width="2" height="2.5" x="2" y="2.5"/>
+ </g>
+ <g
transform="matrix(-0.70710678,-0.70710678,0.70710678,-0.70710678,17.353553,116.38909)"
style="fill:#ffffff">
+ <polygon points="0,3 3,0 6,3"/>
+ <rect width="2" height="2.5" x="2" y="2.5"/>
+ </g>
+ <g
transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,13.110913,104.85355)"
style="fill:#ffffff">
+ <polygon points="0,3 3,0 6,3"/>
+ <rect width="2" height="2.5" x="2" y="2.5"/>
+ </g>
+ <circle cx="25.5" cy="108.5" r="3.5" 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: merged
Gerrit-Change-Id: Iaf5081f150afe537ab729ee06f720c621de8fca0
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Tpt <[email protected]>
Gerrit-Reviewer: Adrian Lang <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Jaredzimmerman <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Ricordisamoa <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Tpt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits