Esanders has uploaded a new change for review.

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

Change subject: Create SVG templates for screenshot images
......................................................................

Create SVG templates for screenshot images

Bug: T144428
Change-Id: I4ccf605b034303cb2fcbdbd31a76a64f353e321f
---
A resources/images/screenshot-template-ltr.svg
A resources/images/screenshot-template-rtl.svg
2 files changed, 190 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BetaFeatures 
refs/changes/86/315586/1

diff --git a/resources/images/screenshot-template-ltr.svg 
b/resources/images/screenshot-template-ltr.svg
new file mode 100644
index 0000000..ea3b4d6
--- /dev/null
+++ b/resources/images/screenshot-template-ltr.svg
@@ -0,0 +1,94 @@
+<?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"
+   id="svg2"
+   viewBox="0 0 264 162"
+   height="162"
+   width="264">
+  <metadata
+     id="metadata80">
+    <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="defs78">
+    <clipPath
+       id="jagged-edge"
+       clipPathUnits="userSpaceOnUse">
+      <path
+         d="m 0,0 0,152 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 
12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 
12,10 12,-10 0,-152 z" />
+    </clipPath>
+  </defs>
+  <g
+     clip-path="url(#jagged-edge)"
+     id="screenshot">
+    <path
+       id="background"
+       d="m 263.5,162.249 -263,-0.5 0,-161.249 263,0 z"
+       style="fill:#ffffff" />
+    <path
+       style="fill:#e5e5e5"
+       id="article"
+       d="M 252,162.49569 252,29 48,29 48,162.49569 Z" />
+    <path
+       style="fill:#e5e5e5"
+       id="logo"
+       d="M 11,22 C 11,14.268 17.268,8 25,8 32.732,8 39,14.268 39,22 39,29.732 
32.732,36 25,36 17.268,36 11,29.732 11,22 Z" />
+    <path
+       style="fill:#e5e5e5"
+       id="sidebar"
+       d="m 38,163.80691 0,-105.806914 -25,0 0,105.806914 25,0 z" />
+    <g
+       id="personal-tools">
+      <path
+         d="m 233,5 26,0 0,6 -26,0 0,-6 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 209,5 22,0 0,6 -22,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 185,5 22,0 0,6 -22,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 162,5 13,0 0,6 -13,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 177,5 6,0 0,6 -6,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 154,5 6,0 0,6 -6,0 z"
+         style="fill:#e5e5e5" />
+    </g>
+    <g
+       id="search">
+      <path
+         id="path5717"
+         style="fill:#e5e5e5"
+         d="m 258,16 0,4 -92,0 0,-4 92,0 m 1,-1 -94,0 0,6 94,0 0,-6 z" />
+      <path
+         id="icon"
+         style="fill:#e5e5e5"
+         d="m 168,17 2,0 0,2 -2,0 z" />
+    </g>
+    <path
+       style="fill:#e5e5e5"
+       id="sitename"
+       d="m 38,45 0,-5 -25,0 0,5 25,0 z" />
+    <path
+       style="fill:#e5e5e5"
+       d="m 0,0 0,162 264,0 0,-162 z m 1,1 262,0 0,150.5332 -11,9.16602 
-12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 
-12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 -12,-10 -12,10 
-11,-9.16602 z"
+       id="border" />
+  </g>
+</svg>
diff --git a/resources/images/screenshot-template-rtl.svg 
b/resources/images/screenshot-template-rtl.svg
new file mode 100644
index 0000000..c38e1ae
--- /dev/null
+++ b/resources/images/screenshot-template-rtl.svg
@@ -0,0 +1,96 @@
+<?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"
+   id="svg2"
+   viewBox="0 0 264 162"
+   height="162"
+   width="264">
+  <metadata
+     id="metadata80">
+    <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="defs78">
+    <clipPath
+       id="jagged-edge"
+       clipPathUnits="userSpaceOnUse">
+      <path
+         d="m 0,0 0,152 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 
12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 
12,10 12,-10 0,-152 z" />
+    </clipPath>
+  </defs>
+  <g
+     clip-path="url(#jagged-edge)"
+     id="screenshot">
+    <path
+       id="background"
+       d="m 0.5,162.249 263,-0.5 0,-161.249 -263,0 z"
+       style="fill:#ffffff" />
+    <path
+       style="fill:#e5e5e5"
+       id="article"
+       d="M 12,162.49569 12,29 l 204,0 0,133.49569 z" />
+    <path
+       style="fill:#e5e5e5"
+       id="logo"
+       d="m 253,22 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 z" />
+    <path
+       style="fill:#e5e5e5"
+       id="sidebar"
+       d="m 226,163.80691 0,-105.806914 25,0 0,105.806914 -25,0 z" />
+    <g
+       transform="matrix(-1,0,0,1,264,0)"
+       id="personal-tools">
+      <path
+         d="m 233,5 26,0 0,6 -26,0 0,-6 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 209,5 22,0 0,6 -22,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 185,5 22,0 0,6 -22,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 162,5 13,0 0,6 -13,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 177,5 6,0 0,6 -6,0 z"
+         style="fill:#e5e5e5" />
+      <path
+         d="m 154,5 6,0 0,6 -6,0 z"
+         style="fill:#e5e5e5" />
+    </g>
+    <g
+       transform="matrix(-1,0,0,1,264,0)"
+       id="search">
+      <path
+         id="path5717"
+         style="fill:#e5e5e5"
+         d="m 258,16 0,4 -92,0 0,-4 92,0 m 1,-1 -94,0 0,6 94,0 0,-6 z" />
+      <path
+         id="icon"
+         style="fill:#e5e5e5"
+         d="m 168,17 2,0 0,2 -2,0 z" />
+    </g>
+    <path
+       style="fill:#e5e5e5"
+       id="sitename"
+       d="m 226,45 0,-5 25,0 0,5 -25,0 z" />
+    <path
+       style="fill:#e5e5e5"
+       d="M 264,0 264,162 0,162 0,0 Z m -1,1 -262,0 0,150.5332 11,9.16602 
12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 
12,-10 12,10 12,-10 12,10 12,-10 12,10 12,-10 12,10 11,-9.16602 z"
+       id="border" />
+  </g>
+</svg>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ccf605b034303cb2fcbdbd31a76a64f353e321f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BetaFeatures
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

Reply via email to