WMDE-Fisch has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/379571 )
Change subject: Add BetaFeatures preview image
......................................................................
Add BetaFeatures preview image
Bug: T175549
Change-Id: Ibb2e9deb867fe9463a5b9636c20e4b9317ab6943
---
M Hooks.php
A resources/FileExporter-beta-features.svg
2 files changed, 416 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FileExporter
refs/changes/71/379571/1
diff --git a/Hooks.php b/Hooks.php
index e60543e..20b2b45 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -64,11 +64,13 @@
public static function getBetaFeaturePreferences( User $user, array
&$prefs ) {
$config = MediaWikiServices::getInstance()->getMainConfig();
+ $extensionAssetsPath = $config->get( 'ExtensionAssetsPath' );
if ( $config->get( 'FileExporterBetaFeature' ) ) {
$prefs[ 'fileexporter' ] = [
'label-message' =>
'fileexporter-beta-feature-message',
'desc-message' =>
'fileexporter-beta-feature-description',
+ 'screenshot' =>
"$extensionAssetsPath/FileExporter/resources/FileExporter-beta-features.svg",
'info-link' =>
'https://www.mediawiki.org/wiki/Extension:FileExporter',
'discussion-link' =>
'https://www.mediawiki.org/wiki/Extension_talk:FileExporter',
];
diff --git a/resources/FileExporter-beta-features.svg
b/resources/FileExporter-beta-features.svg
new file mode 100644
index 0000000..0f9e8f5
--- /dev/null
+++ b/resources/FileExporter-beta-features.svg
@@ -0,0 +1,414 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+
+<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"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ viewBox="0 0 264 162"
+ style="enable-background:new 0 0 264 162;"
+ xml:space="preserve"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="newtry.svg"
+ inkscape:export-filename="/home/jabu/Design/File Exporter Icon/newtry.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"><metadata
+ id="metadata4215"><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="defs4213" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1013"
+ id="namedview4211"
+ showgrid="false"
+ inkscape:zoom="2"
+ inkscape:cx="96.894992"
+ inkscape:cy="80.773176"
+ inkscape:window-x="1366"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="Layer_1" /><style
+ type="text/css"
+ id="style4137">
+ .st0{fill:#FFFFFF;}
+ .st1{fill:#E5E5E5;}
+ .st2{fill:#E5E5E5;stroke:#E5E5E5;}
+ .st3{fill:#3366CC;}
+ .st4{fill:#FFFFFF;stroke:#3366CC;stroke-width:1.651;}
+ .st5{fill:#3366CC;stroke:#3366CC;stroke-width:1.8986;}
+ .st6{fill:#E5E5E5;stroke:#3366CC;stroke-width:1.651;}
+ .st7{fill:#3366CC;stroke:#A2A9B1;stroke-width:1.7997;}
+ .st8{fill:#3366CC;stroke:#FFFFFF;stroke-width:1.0271;}
+ .st9{fill:#3366CC;stroke:#3366CC;stroke-width:1.0271;}
+</style><polygon
+ class="st0"
+ points="263.5,0.5 263.5,152.2 254.5,159 254.5,42.5 215.5,42.5 215.5,155.1
211.1,151.4 203.5,156.7 203.5,42.5 48.5,42.5 48.5,153.3 38.7,161.4 24.8,151.4
13.4,161.4 0.5,151.7 0.5,0.5 "
+ id="polygon4139"
+ transform="translate(-156,0)"
+ style="fill:#ffffff" /><path
+ class="st1"
+ d="m 107,1 0,151 -8,6 0,-115 0,-1 -1,0 -38,0 -1,0 0,1 0,111 -3.3,-2.8
-0.6,-0.5 -0.6,0.4 -6.5,4.6 0,-112.7 0,-1 -1,0 -154,0 -1,0 0,1 0,110.1 -9.3,7.7
-13.3,-9.6 -0.6,-0.5 -0.6,0.5 -10.9,9.5 -12.3,-9.2 0,-150.5 262,0 m 1,-1 -264,0
0,152 13.4,10 11.5,-10 13.9,10 10.2,-8.4 0,-110.6 154,0 0,114.7 8.1,-5.7
4.9,4.2 0,-113.2 38,0 0,116.9 10,-7.4 0,-152.5 0,0 z"
+ id="path4141"
+ inkscape:connector-curvature="0"
+
style="fill:#e5e5e5;stroke-width:0.4;stroke-miterlimit:4;stroke-dasharray:none"
/><path
+ class="st1"
+ d="M 47,157.7 47,43 l -154,0 0,110.6 2.1,-1.6 12.6,10 13.8,-10 14.2,10
13,-10 13,10 13.8,-10 12.1,10 13.4,-10 14.2,10 13,-10 13,10 5.8,-4.3 z"
+ id="path4143"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><path
+ class="st1"
+ d="m -145,36 c 0,-7.7 6.3,-14 14,-14 7.7,0 14,6.3 14,14 0,7.7 -6.3,14
-14,14 -7.7,0 -14,-6.3 -14,-14 z"
+ id="path4145"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><path
+ class="st1"
+ d="M 98,159.9 98,43 l -38,0 0,113.2 7.6,5.8 13.8,-10 13.9,10 2.7,-2.1 z"
+ id="path4147"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><path
+ class="st1"
+ d="m 98.9,151 0,-125.8 -206.9,0 0,125.8 206.9,0 z"
+ id="path4149"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><path
+ class="st1"
+ d="m 76.5,5 26,0 0,6 -26,0 0,-6 0,0 z"
+ id="path4151"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><g
+ id="g4153"
+ transform="translate(-156,0)"><rect
+ id="r"
+ x="208.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><path
+ class="st1"
+ d="m -14,6 0,4 -92,0 0,-4 92,0 m 1,-1 -94,0 0,6 94,0 0,-6 0,0 z"
+ id="path4156"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><g
+ id="g4158"
+ transform="translate(-156,0)"><rect
+ id="r_1_"
+ x="184.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4161"
+ transform="translate(-156,0)"><rect
+ id="r_2_"
+ x="161.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4164"
+ transform="translate(-156,0)"><rect
+ id="r_3_"
+ x="176.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4167"
+ transform="translate(-156,0)"><rect
+ id="r_4_"
+ x="153.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4170"
+ transform="translate(-156,0)"><rect
+ id="r_5_"
+ x="9"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><path
+ class="st2"
+ d="m -154,14.5 260,0"
+ id="path4173"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5;stroke:#e5e5e5" /><path
+ class="st1"
+ d="m -118,151.2 0,-97.2 -25,0 0,97.2 25,0 z"
+ id="path4175"
+ inkscape:connector-curvature="0"
+ style="fill:#e5e5e5" /><g
+ id="g4240"
+ transform="matrix(4.9085979,0,0,4.9085979,-2.616273,15.550324)"
+ style="fill:#a2a9b1;fill-opacity:0.93333333"><g
+ id="image"
+ style="fill:#a2a9b1;fill-opacity:0.93333333"><path
+ id="mountains"
+ class="st3"
+ d="m 17.2,16.4 -3,-3 -2,1 -3,-3 -4,5 12,0 z m 2,-11 0,13 -16,0 0,-13
c 0,0 16,0 16,0 z"
+ inkscape:connector-curvature="0"
+ style="fill:#a2a9b1;fill-opacity:0.93333333" /></g></g><rect
+ id="rect4244"
+ x="14.099998"
+ y="111.1"
+ class="st4"
+ width="76.400002"
+ height="13.7"
+ style="fill:#ffffff;stroke:#3366cc;stroke-width:1.65100002" /><rect
+ id="rect4246"
+ x="14.17038"
+ y="131.3"
+ class="st5"
+ width="18.200001"
+ height="10.7"
+
style="fill:#3366cc;fill-opacity:1;stroke:#3366cc;stroke-width:1.89859998"
/><rect
+ id="rect4246-3"
+ x="38.270386"
+ y="131.5"
+ class="st6"
+ width="18.1"
+ height="10.6"
+ style="fill:#e5e5e5;stroke:#3366cc;stroke-width:1.65100002" /><rect
+ id="rect4263"
+ x="19.599998"
+ y="118.5"
+ class="st7"
+ width="63"
+ height="0.40000001"
+ style="fill:#3366cc;stroke:#a2a9b1;stroke-width:1.79970002" /><rect
+ id="rect4263-6"
+ x="17.970383"
+ y="136.3"
+ class="st8"
+ width="10.9"
+ height="0.80000001"
+ style="fill:#3366cc;stroke:#ffffff;stroke-width:1.02709997" /><rect
+ id="rect4263-6-7"
+ x="41.970383"
+ y="136.5"
+ class="st9"
+ width="10.9"
+ height="0.80000001"
+ style="fill:#3366cc;stroke:#3366cc;stroke-width:1.02709997" /><polygon
+ class="st1"
+ points="204,150.7 204,155.7 211.1,150.8 "
+ id="polygon4190"
+ transform="translate(-156,0)"
+ style="fill:#e5e5e5" /><polygon
+ class="st1"
+ points="216,151 216.2,155.6 211.1,150.8 "
+ id="polygon4192"
+ transform="translate(-156,0)"
+ style="fill:#e5e5e5" /><polygon
+ class="st1"
+ points="13.3,160.7 24.2,151.2 13,151.2 13,160.5 "
+ id="polygon4207"
+ transform="translate(-156,0)"
+ style="fill:#e5e5e5" /><polygon
+ class="st1"
+ points="38,160.3 25.4,151.2 38,151.2 "
+ id="polygon4209"
+ transform="translate(-156,0)"
+ style="fill:#e5e5e5" /><polygon
+ class="st0"
+ points="211.1,151.4 203.5,156.7 203.5,42.5 48.5,42.5 48.5,153.3
38.7,161.4 24.8,151.4 13.4,161.4 0.5,151.7 0.5,0.5 263.5,0.5 263.5,152.2
254.5,159 254.5,42.5 215.5,42.5 215.5,155.1 "
+ id="polygon4139-3"
+ style="fill:#ffffff"
+ transform="translate(120.45787,0.41252975)" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 383.45787,1.4125298 0,151.0000002 -8,6 0,-115 0,-1 -1,0 -38,0 -1,0
0,1 0,111 -3.3,-2.8 -0.6,-0.5 -0.6,0.4 -6.5,4.6 0,-112.7 0,-1 -1,0 -154,0 -1,0
0,1 0,110.1 -9.3,7.7 -13.3,-9.6 -0.6,-0.5 -0.6,0.5 -10.9,9.5 -12.3,-9.2
0,-150.5000002 262,0 m 1,-1.00000005 -264,0 0,152.00000025 13.4,10 11.5,-10
13.9,10 10.2,-8.4 0,-110.6 154,0 0,114.7 8.1,-5.7 4.9,4.2 0,-113.2 38,0 0,116.9
10,-7.4 0,-152.50000025 0,0 z"
+ id="path4141-6"
+ style="fill:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 323.45787,158.11253 0,-114.7 -154,0 0,110.6 2.1,-1.6 12.6,10
13.8,-10 14.2,10 13,-10 13,10 13.8,-10 12.1,10 13.4,-10 14.2,10 13,-10 13,10
5.8,-4.3 z"
+ id="path4143-7"
+ style="fill:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 127.45787,36.41253 c 0,-7.7 6.3,-14 14,-14 7.7,0 14,6.3 14,14 0,7.7
-6.3,14 -14,14 -7.7,0 -14,-6.3 -14,-14 z"
+ id="path4145-5"
+ style="fill:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 374.45787,160.31253 0,-116.9 -38,0 0,113.2 7.6,5.8 13.8,-10 13.9,10
2.7,-2.1 z"
+ id="path4147-3"
+ style="fill:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 367.35787,151.41253 0,-125.8 -206.9,0 0,125.8 206.9,0 z"
+ id="path4149-5"
+ style="fill:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 352.95787,5.4125298 26,0 0,6.0000002 -26,0 0,-6.0000002 0,0 z"
+ id="path4151-6"
+ style="fill:#e5e5e5" /><g
+ id="g4153-2"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r-9"
+ x="208.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 262.45787,6.4125298 0,4.0000002 -92,0 0,-4.0000002 92,0 m 1,-1 -94,0
0,6.0000002 94,0 0,-6.0000002 0,0 z"
+ id="path4156-1"
+ style="fill:#e5e5e5" /><g
+ id="g4158-2"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r_1_-7"
+ x="184.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4161-0"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r_2_-9"
+ x="161.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4164-3"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r_3_-6"
+ x="176.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4167-0"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r_4_-6"
+ x="153.5"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><g
+ id="g4170-2"
+ transform="translate(120.45787,0.41252975)"><rect
+ id="r_5_-6"
+ x="9"
+ y="5"
+ class="st1"
+ width="22"
+ height="6"
+ style="fill:#e5e5e5" /></g><path
+ inkscape:connector-curvature="0"
+ class="st2"
+ d="m 122.45787,14.91253 260,0"
+ id="path4173-1"
+ style="fill:#e5e5e5;stroke:#e5e5e5" /><path
+ inkscape:connector-curvature="0"
+ class="st1"
+ d="m 154.45787,151.61253 0,-97.2 -25,0 0,97.2 25,0 z"
+ id="path4175-8"
+ style="fill:#e5e5e5" /><path
+ class="st3"
+ d="m 95.113164,84.746865 39.623746,0 0,15.878665 28.26107,-23.890822
-28.26107,-23.890794 0,15.878637 -22.57971,0 c 0,0 -6.11838,-0.728377
-11.79972,4.370268 -5.681346,5.098645 -5.244316,11.654046 -5.244316,11.654046 z"
+ id="path4205"
+ inkscape:connector-curvature="0"
+ style="fill:#3366cc" /><g
+ id="g4240-7"
+ transform="matrix(4.9085979,0,0,4.9085979,151.8416,15.96285)"><g
+ id="image-9"><path
+ id="mountains-2"
+ class="st3"
+ d="m 17.2,16.4 -3,-3 -2,1 -3,-3 -4,5 12,0 z m 2,-11 0,13 -16,0 0,-13
c 0,0 16,0 16,0 z"
+ inkscape:connector-curvature="0"
+ style="fill:#3366cc" /></g></g><rect
+ id="rect4244-5"
+ x="168.55786"
+ y="111.51253"
+ class="st4"
+ width="76.400002"
+ height="13.7"
+ style="fill:#ffffff;stroke:#3366cc;stroke-width:1.65100002" /><rect
+ id="rect4246-9"
+ x="168.62823"
+ y="131.71254"
+ class="st5"
+ width="18.200001"
+ height="10.7"
+
style="fill:#3366cc;fill-opacity:1;stroke:#3366cc;stroke-width:1.89859998"
/><rect
+ id="rect4246-3-2"
+ x="192.72824"
+ y="131.91254"
+ class="st6"
+ width="18.1"
+ height="10.6"
+ style="fill:#e5e5e5;stroke:#3366cc;stroke-width:1.65100002" /><rect
+ id="rect4263-2"
+ x="174.05786"
+ y="118.91254"
+ class="st7"
+ width="63"
+ height="0.40000001"
+ style="fill:#3366cc;stroke:#a2a9b1;stroke-width:1.79970002" /><rect
+ id="rect4263-6-8"
+ x="172.42825"
+ y="136.71254"
+ class="st8"
+ width="10.9"
+ height="0.80000001"
+ style="fill:#3366cc;stroke:#ffffff;stroke-width:1.02709997" /><rect
+ id="rect4263-6-7-9"
+ x="196.42825"
+ y="136.91254"
+ class="st9"
+ width="10.9"
+ height="0.80000001"
+ style="fill:#3366cc;stroke:#3366cc;stroke-width:1.02709997" /><polygon
+ class="st1"
+ points="204,155.7 211.1,150.8 204,150.7 "
+ id="polygon4190-7"
+ style="fill:#e5e5e5"
+ transform="translate(120.45787,0.41252975)" /><polygon
+ class="st1"
+ points="216.2,155.6 211.1,150.8 216,151 "
+ id="polygon4192-3"
+ style="fill:#e5e5e5"
+ transform="translate(120.45787,0.41252975)" /><path
+
style="fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 129.45822,149.60501 -0.0136,8.72211 4.41388,3.40409
11.15487,-9.74372 9.44051,6.46273 0,-8.84559 z"
+ id="path4331"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccc" /><path
+
style="fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 160.48271,150.74568 0.0129,10.20125 9.61056,-7.7408 -0.0875,-2.47239
z"
+ id="path4333"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" /></svg>
\ No newline at end of file
--
To view, visit https://gerrit.wikimedia.org/r/379571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb2e9deb867fe9463a5b9636c20e4b9317ab6943
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/FileExporter
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits