Jakob has submitted this change and it was merged.
Change subject: Add RTL helptext SVG
......................................................................
Add RTL helptext SVG
Bug: T136830
Change-Id: I0cd51d01fa451f027252f9f98ef8b9df2206d60d
---
M extension.json
R resources/ext.RevisionSlider.helpDialog/slide1-ltr.svg
A resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg
R resources/ext.RevisionSlider.helpDialog/slide3-ltr.svg
A resources/ext.RevisionSlider.helpDialog/slide3-rtl.svg
R resources/ext.RevisionSlider.helpDialog/slide4-ltr.svg
A resources/ext.RevisionSlider.helpDialog/slide4-rtl.svg
7 files changed, 21 insertions(+), 3 deletions(-)
Approvals:
Jakob: Looks good to me, approved
jenkins-bot: Verified
diff --git a/extension.json b/extension.json
index 0ad78c1..25c19c9 100644
--- a/extension.json
+++ b/extension.json
@@ -190,10 +190,25 @@
"class": "ResourceLoaderImageModule",
"selector": ".mw-help-dialog-slide-{name}",
"images": {
- "1":
"resources/ext.RevisionSlider.helpDialog/slide1.svg",
+ "1": {
+ "file": {
+ "ltr":
"resources/ext.RevisionSlider.helpDialog/slide1-ltr.svg",
+ "rtl":
"resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg"
+ }
+ },
"2":
"resources/ext.RevisionSlider.helpDialog/slide2.svg",
- "3":
"resources/ext.RevisionSlider.helpDialog/slide3.svg",
- "4":
"resources/ext.RevisionSlider.helpDialog/slide4.svg"
+ "3": {
+ "file": {
+ "ltr":
"resources/ext.RevisionSlider.helpDialog/slide3-ltr.svg",
+ "rtl":
"resources/ext.RevisionSlider.helpDialog/slide3-rtl.svg"
+ }
+ },
+ "4": {
+ "file": {
+ "ltr":
"resources/ext.RevisionSlider.helpDialog/slide4-ltr.svg",
+ "rtl":
"resources/ext.RevisionSlider.helpDialog/slide4-rtl.svg"
+ }
+ }
}
}
},
diff --git a/resources/ext.RevisionSlider.helpDialog/slide1.svg
b/resources/ext.RevisionSlider.helpDialog/slide1-ltr.svg
similarity index 100%
rename from resources/ext.RevisionSlider.helpDialog/slide1.svg
rename to resources/ext.RevisionSlider.helpDialog/slide1-ltr.svg
diff --git a/resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg
b/resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg
new file mode 100644
index 0000000..86d20f4
--- /dev/null
+++ b/resources/ext.RevisionSlider.helpDialog/slide1-rtl.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="256" height="157.051"
viewBox="0 0 256 157.051"><path d="M206.756 146.449l-12.449
9.835-13.216-9.616-13.979 9.288-12.887-9.288-12.231 9.507-13.433-9.397-11.795
9.397-13.258-9.78.424-73.714 102.934.006-.11 73.762z" fill="#e5e5e5"/><path
d="M104.027 146.177l-14.012 10.107-12.701-9.658-12.395
9.563-13.295-9.563-12.323 9.317-13.077-9.362-13.5 9.517.077-83.412h91.337l-.111
73.491z" fill="#e5e5e5"/><path d="M255.41.59L.59.592l.1 147.021 11.832 8.656
13.686-9.393 13.102 9.364 12.159-9.496 13.425 9.514 12.621-9.522 12.588 9.584
13.695-9.553 13.033 9.491 11.662-9.344 13.35 9.374 12.438-9.335 12.727 9.307
13.837-9.399 13.394 9.41 12.139-9.535 12.125 9.523 13.325-9.34 11.247 9.33
12.336-9.188L255.41.59z" fill="none" stroke="#e6e6e6" stroke-width="1.18"
stroke-linecap="round"/><path d="M218.759 34.614c.257-7.083 6.174-12.635
13.259-12.441 7.084.193 12.689 6.059 12.561 13.144-.129 7.086-5.943
12.745-13.03 12.68-7.087-.064-12.798-5.827-12.797-12.914" fill="#e5e5e5"
stroke="#e5e5e5" stroke-width="1.18" stroke-linecap="round"
stroke-linejoin="round"/><path d="M242.848
56.621h-23.004v-3.773h23.004v3.773zm-.092 70.479h-23.003V70.304h23.003V127.1z"
fill="#e5e5e5" stroke="#e5e5e5" stroke-width="1.18"
stroke-linecap="round"/><path d="M29.51 10.134H5.58V5.597h23.93v4.537z"
fill="#d8d8d8" stroke="#d8d8d8" stroke-width="1.18"
stroke-linecap="round"/><path d="M2.057 14.518h252.062" fill="#e5e5e5"
stroke="#e5e5e5"/><path d="M246.67 10.045h-29.72V5.508h29.72v4.537z"
fill="#e5e5e5" stroke="#e5e5e5" stroke-width="1.18"
stroke-linecap="round"/><path d="M77.24
10.309H66.414V5.772H77.24v4.537zm-31.115-.282H35.299V5.49h10.826v4.537zm15.346-.038H50.645V5.452h10.826v4.537z"
fill="#d8d8d8" stroke="#d8d8d8" stroke-width="1.18"
stroke-linecap="round"/><path d="M208.176 10.278h-89.865V5.413h89.865v4.865z"
fill="none" stroke="#e5e5e5" stroke-linecap="round"/><path d="M205.096
8.227h-.761v-.788h.761v.788z" fill="#e2e5e5" stroke="#e5e5e5"
stroke-width="1.18" stroke-linecap="round"/><path d="M194.964 48.105l-10.478
9.874.02-19.772 10.458 9.898zm-12.993-.065H169.52V37.01h12.451v11.03z"
fill="#347bff"/><path d="M33.62 48.129h150.983" fill="#347bff"
stroke="#347bff"/><path d="M26.607 47.955l10.477 9.874-.02-19.772-10.457
9.898zm143.215 8.533h-12.45v-8.3h12.45v8.3zm-13.105
6.225h-12.449V47.97h12.449v14.743zM142.52
47.842h-12.451V30.15h12.451v17.692zm-12.888.128h-12.45V34.427h12.45V47.97zm-12.976.146h-12.45V37.85h12.45v10.266zm-12.665
18.43h-12.45V48.198h12.45v18.348zm-25.948-7.928h-12.45V48.352h12.45v10.266zm13.283-10.811h-12.45V30.333h12.45v17.474zM64.76
63.424H52.311V48.352H64.76v15.072zM52.096 47.807h-12.45V37.54h12.449v10.267z"
fill="#347bff"/><path d="M201.926
91.889h-81.473v-3.057h81.473v3.057zm0-8.518h-29.27v-6.334h29.27v6.334zm.109
22.518h-81.473v-3.058h81.473v3.058zm0 8h-56.354v-3.058h56.354v3.058zm0
14h-81.473v-3.059h81.473v3.059zm-.055 8h-81.473v-3.059h81.473v3.059zm.055
6h-40.627v-3.059h40.627v3.059zm-102.987-58.9H69.779v-6.334h29.269v6.334zm.109
8.9H17.686v-3.057h81.472v3.057zm0
22H17.686v-3.058h81.472v3.058zm0-15H17.686v-3.058h81.472v3.058zm0
7H70.543v-3.058h28.614v3.058zm0
22H17.686v-3.059h81.472v3.059zm0-8H17.686v-3.059h81.472v3.059zm-.055
22H17.63v-3.059h81.472v3.059zm12.653-69.103v78.196h-3.058V72.786h3.058z"
fill="#d8d8d8"/><path d="M111.746 150.84l-3.038.221 3.039 2.229-.001-2.45z"
fill="#d8d8d8"/><path d="M111.754 150.864l-3.054-.683v.883l3.047
2.226.007-2.426z" fill="#d8d8d8"/></svg>
\ No newline at end of file
diff --git a/resources/ext.RevisionSlider.helpDialog/slide3.svg
b/resources/ext.RevisionSlider.helpDialog/slide3-ltr.svg
similarity index 100%
rename from resources/ext.RevisionSlider.helpDialog/slide3.svg
rename to resources/ext.RevisionSlider.helpDialog/slide3-ltr.svg
diff --git a/resources/ext.RevisionSlider.helpDialog/slide3-rtl.svg
b/resources/ext.RevisionSlider.helpDialog/slide3-rtl.svg
new file mode 100644
index 0000000..964c9e0
--- /dev/null
+++ b/resources/ext.RevisionSlider.helpDialog/slide3-rtl.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="180" height="198.673"
viewBox="0 0 338.2583 373.34968"><defs><marker orient="auto" id="a"
overflow="visible"><path d="M4.616 0l-6.92 4v-8l6.92 4z" fill-rule="evenodd"
stroke="#000" stroke-width=".8pt"/></marker><marker orient="auto" id="b"
overflow="visible"><path d="M4.616 0l-6.92 4v-8l6.92 4z" fill-rule="evenodd"
stroke="#000" stroke-width=".8pt"/></marker></defs><path d="M288.932
41.93h-16.213v55.507h16.213zm-16.214 0h-16.213V20.468h16.213z"
fill="#e3e3e3"/><path d="M256.505 41.93h-16.213v46.872h16.213z"
fill="#fee6a8"/><path d="M240.292 41.93h-16.213v38.96h16.213zm-16.213
0h-16.213V0h16.213zm-16.214 0h-16.213V16.11h16.213zm-16.213
0h-16.213V6.522h16.213zm-16.213-.002h-16.213v23.617h16.213zm-16.214.002h-16.213v42.086h16.213zm-16.213
0h-16.213V13.624h16.213zm-16.213-.002h-16.213v23.617h16.213z"
fill="#e3e3e3"/><path d="M240.292 41.93h-16.213v38.96h16.213zm-16.213
0h-16.213V0h16.213zm-16.214 0h-16.213V16.11h16.213zm-16.213
0h-16.213V6.522h16.213zm-16.213-.002h-16.213v23.617h16.213z"
fill="#bcbcbc"/><path d="M159.225 42.481h-16.213v42.087h16.213z"
fill="#c3e2ff"/><path d="M143.012
41.93h-16.213V13.624h16.213zm-16.213-.002h-16.213v23.617h16.213zm-16.214-.004H94.372v46.43h16.213z"
fill="#e3e3e3"/><path d="M240.294 41.784H69.589v1.212h170.705z" opacity=".937"
fill="#bcbcbc"/><g fill="#fdc44b" stroke="#dda000"><path transform="matrix(0
.4934 -.59638 0 -299.898 651.644)" d="M-1231.824-918.09l9.38-5.414
9.379-5.416v21.661l-9.38-5.415z" opacity=".17"/><path transform="matrix(0 .4934
-.59638 0 -298.938 651.1)" d="M-1231.824-918.09l9.38-5.414
9.379-5.416v21.661l-9.38-5.415z"/></g><path d="M149.446 40.898l3.303-4.734
3.304-4.734h-13.215l3.304 4.734z" opacity=".099" fill-opacity=".958"
stroke="#000" stroke-width=".555" stroke-opacity=".553"/><path d="M149.794
39.852l3.303-4.734 3.304-4.734h-13.215l3.304 4.734z" fill="#45a6ff"
stroke="#065cad" stroke-width=".555"/><path d="M256.507
41.773h-16.235v1.212h16.235z" opacity=".937" fill="#dda000"/><path d="M159.216
41.784h-16.21v1.212h16.21z" opacity=".937" fill="#065cad"/><g
transform="matrix(-1 0 0 1 1177.81 -1406.386)"><path d="M839.551
1554.836h156.258v224.899H839.551z" fill="#fee6a8"/><path d="M1021.551
1554.836h156.258v224.899h-156.258z" fill="#c3e2ff"/><rect width="122.738"
height="5.789" x="850.202" y="1604.458" ry="0" opacity=".102"/><rect
width="125.567" height="5.789" x="850.378" y="1622.256" ry="0"
opacity=".102"/><rect width="129.456" height="5.789" x="850.378" y="1640.055"
ry="0" opacity=".102"/><rect width="72.18" height="5.789" x="850.378"
y="1657.854" ry="0" opacity=".102"/><rect width="41.068" height="5.789"
x="850.378" y="1689.146" ry="0" opacity=".102"/><rect width="122.738"
height="5.789" x="850.378" y="1706.513" ry="0" opacity=".102"/><rect
width="125.567" height="5.789" x="850.378" y="1723.881" ry="0"
opacity=".102"/><rect width="57.685" height="5.789" x="850.378" y="1741.249"
ry="0" opacity=".102"/><rect width="134.406" height="5.789" x="1032.105"
y="1604.104" ry="0" opacity=".319"/><rect width="125.567" height="5.789"
x="1031.398" y="1621.549" ry="0" opacity=".319"/><rect width="117.081"
height="5.789" x="1031.398" y="1638.995" ry="0" opacity=".319"/><rect
width="31.168" height="5.789" x="1031.398" y="1656.44" ry="0"
opacity=".319"/><rect width="41.068" height="5.789" x="1031.398" y="1687.731"
ry="0" opacity=".319"/><rect width="125.567" height="5.789" x="1031.398"
y="1705.099" ry="0" opacity=".319"/><rect width="107.182" height="5.789"
x="1031.398" y="1722.467" ry="0" opacity=".319"/><rect width="57.685"
height="5.789" x="1031.398" y="1739.835" ry="0" opacity=".319"/><rect ry="0"
y="1586.659" x="850.732" height="5.789" width="122.738" opacity=".102"/><rect
width="72.534" height="11.446" x="850.732" y="1565.446" ry="0"
opacity=".102"/><rect ry="0" y="1586.659" x="1031.751" height="5.789"
width="134.406" opacity=".319"/><rect width="90.565" height="9.678"
x="1031.398" y="1565.446" ry="0" opacity=".319"/><path d="M1028.506
1504.349l72.869 42.401" fill="none" stroke="#000" marker-end="url(#a)"/><path
d="M928.61 1504.493l-12.235 42.257" fill="none" stroke="#000"
marker-end="url(#b)"/></g></svg>
\ No newline at end of file
diff --git a/resources/ext.RevisionSlider.helpDialog/slide4.svg
b/resources/ext.RevisionSlider.helpDialog/slide4-ltr.svg
similarity index 100%
rename from resources/ext.RevisionSlider.helpDialog/slide4.svg
rename to resources/ext.RevisionSlider.helpDialog/slide4-ltr.svg
diff --git a/resources/ext.RevisionSlider.helpDialog/slide4-rtl.svg
b/resources/ext.RevisionSlider.helpDialog/slide4-rtl.svg
new file mode 100644
index 0000000..b62b397
--- /dev/null
+++ b/resources/ext.RevisionSlider.helpDialog/slide4-rtl.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="267.121" height="122.485"
viewBox="0 0 267.12106 122.48537"><path d="M231.344
57.065h-16.213v55.508h16.213zm-16.214.001h-16.213V35.604h16.213z"
fill="#e3e3e3"/><path d="M198.917 57.065h-16.213v46.873h16.213z"
fill="#fee6a8"/><path d="M182.704 57.065h-16.213v38.96h16.213zm-16.213
0h-16.213v-41.93h16.213zm-16.214 0h-16.213v-25.82h16.213zm-16.213
0h-16.213V21.659h16.213zm-16.213-.001h-16.213V80.68h16.213zm-16.214.001H85.424v42.087h16.213zm-16.213.001H69.211V28.76h16.213zm-16.213-.002H52.998V80.68h16.213z"
fill="#e3e3e3"/><path d="M182.704 57.065h-16.213v38.96h16.213zm-16.213
0h-16.213v-41.93h16.213zm-16.214 0h-16.213v-25.82h16.213zm-16.213
0h-16.213V21.659h16.213zm-16.213-.001h-16.213V80.68h16.213z"
fill="#bcbcbc"/><path d="M101.637 57.617H85.424v42.087h16.213z"
fill="#c3e2ff"/><path d="M85.424
57.066H69.211V28.76h16.213zm-16.213-.002H52.998V80.68h16.213zm-16.214-.004H36.784v46.43h16.213z"
fill="#e3e3e3"/><path d="M182.705 56.92H36.501v1.212h146.204z" opacity=".937"
fill="#bcbcbc"/><g fill="#fdc44b" stroke="#dda000"><path transform="matrix(0
.4934 -.59638 0 -357.485 666.78)" d="M-1231.824-918.09l9.38-5.414
9.379-5.416v21.661l-9.38-5.415z" opacity=".17"/><path transform="matrix(0 .4934
-.59638 0 -356.526 666.236)" d="M-1231.824-918.09l9.38-5.414
9.379-5.416v21.661l-9.38-5.415z"/></g><path d="M91.858 56.033l3.303-4.734
3.304-4.734H85.25l3.304 4.734z" opacity=".099" fill-opacity=".958"
stroke="#000" stroke-width=".555" stroke-opacity=".553"/><path d="M92.206
54.988l3.303-4.734 3.304-4.734H85.598l3.304 4.734z" fill="#45a6ff"
stroke="#065cad" stroke-width=".555"/><path d="M198.919
56.909h-16.235v1.212h16.235z" opacity=".937" fill="#dda000"/><path d="M101.628
56.92h-16.21v1.212h16.21z" opacity=".937" fill="#065cad"/><path fill="#fff"
stroke="#dadada" stroke-width="1.621" d="M.81.81h23.158v120.662H.81z"/><path
d="M15.33 54.91l-9.15 6.663 9.098 6.698" fill="none" stroke="#171717"
stroke-width="2.956" stroke-linecap="round" stroke-linejoin="round"/><path
fill="#fff" stroke="#dadada" stroke-width="1.621"
d="M266.31.81h-23.158v120.662h23.158z"/><path d="M251.79 52.652l9.15
6.664-9.097 6.698" fill="none" stroke="#171717" stroke-width="2.956"
stroke-linecap="round" stroke-linejoin="round"/><path opacity=".572"
fill="#fff" d="M29.173 1.486h209.5v121h-209.5z"/></svg>
\ No newline at end of file
--
To view, visit https://gerrit.wikimedia.org/r/294908
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0cd51d01fa451f027252f9f98ef8b9df2206d60d
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>
Gerrit-Reviewer: Jakob <[email protected]>
Gerrit-Reviewer: WMDE-leszek <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits