Jforrester has uploaded a new change for review.

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

Change subject: HHVM BetaFeature: Add screenshot; improve text
......................................................................

HHVM BetaFeature: Add screenshot; improve text

Bug: 71048
Change-Id: I3330498284279d13300936935856dc3233f7aec2
---
M WikimediaEventsHooks.php
A betafeatures-HHVM-ltr.svg
A betafeatures-HHVM-rtl.svg
M i18n/en.json
4 files changed, 54 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents 
refs/changes/08/162008/1

diff --git a/WikimediaEventsHooks.php b/WikimediaEventsHooks.php
index afff33e..df3d4a1 100644
--- a/WikimediaEventsHooks.php
+++ b/WikimediaEventsHooks.php
@@ -342,9 +342,15 @@
         * @param array &$prefs
         */
        public static function onGetBetaFeaturePreferences( User $user, array 
&$prefs ) {
+               $iconpath = $coreConfig->get( 'ExtensionAssetsPath' ) . 
"/WikimediaEvents";
+
                $prefs['HHVM'] = array(
                        'label-message'   => 'hhvm-label',
                        'desc-message'    => 'hhvm-desc',
+                       'screenshot'      => array(
+                               'ltr' => "$iconpath/betafeatures-HHVM-ltr.svg",
+                               'rtl' => "$iconpath/betafeatures-HHVM-rtl.svg",
+                       ),
                        'info-link'       => 
'//www.mediawiki.org/wiki/Special:MyLanguage/HHVM/About',
                        'discussion-link' => 
'//www.mediawiki.org/wiki/Talk:HHVM/About',
                );
diff --git a/betafeatures-HHVM-ltr.svg b/betafeatures-HHVM-ltr.svg
new file mode 100644
index 0000000..7798714
--- /dev/null
+++ b/betafeatures-HHVM-ltr.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="264" height="162" viewBox="0 0 264 162" 
xmlns="http://www.w3.org/2000/svg"; 
xmlns:sketch="http://www.bohemiancoding.com/sketch/ns";>
+    <g fill="none">
+        <path d="M11 24c0-7.732 6.268-14 14-14s14 6.268 14 14-6.268 14-14 
14-14-6.268-14-14z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <g sketch:type="MSShapeGroup" id="Group-+-Shape-+-Shape">
+            <g id="Group">
+                <path d="M24.833 151.362l-11.467 
9.995-12.866-9.608v-151.249h263v151.749l-9 
6.705v-116.454h-39v112.6l-4.393-3.731-7.607 5.33v-114.199h-155v110.849l-9.751 
8.031-13.916-10.018z" id="Shape" fill="#fff"/>
+                <path d="M263 1v150.998l-8 
5.96v-115.958h-40v112.019l-3.274-2.779-.589-.499-.633.44-6.504 
4.557v-113.738h-156v111.099l-9.257 7.661-13.295-9.569-.644-.465-.598.521-10.864 
9.47-12.342-9.218v-150.499h262zm1-1h-264v152l13.391 10 11.473-10 13.891 10 
10.245-8.4v-110.6h154v114.66l8.078-5.66 4.922 
4.18v-113.18h38v116.95l10-7.45v-152.5z" id="Shape" fill="#E5E5E5"/>
+            </g>
+            <path d="M203 43h-154v110.6l2.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.34v-114.66zm51 116.95v-116.95h-38v113.18l7.551 5.82 13.811-10 13.891 
10 2.747-2.05z" id="Shape" fill="#E5E5E5"/>
+        </g>
+        <path d="M38 137v-77h-25v77h25zm195-132h26v6h-26v-6z" id="Shape" 
fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <path id="Rectangle" fill="#E5E5E5" sketch:type="MSShapeGroup" d="M221 
5h6v6h-6z"/>
+        <path id="Rectangle-copy" fill="#E5E5E5" sketch:type="MSShapeGroup" 
d="M211 5h6v6h-6z"/>
+        <path id="Rectangle-copy-2" fill="#E5E5E5" sketch:type="MSShapeGroup" 
d="M201 5h6v6h-6z"/>
+        <path d="M38 47v-5h-25v5h25z" id="Shape" fill="#E5E5E5" 
sketch:type="MSShapeGroup"/>
+        <path d="M11 24c0-7.732 6.268-14 14-14s14 6.268 14 14-6.268 14-14 
14-14-6.268-14-14z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <g id="Group" sketch:type="MSLayerGroup">
+            <path d="M164 47.65l16.968 16.968 16.968-16.968h-33.936zm-6.363 
13.433l7.956 7.956 7.956-7.956h-15.911zm0 22.624l7.956 7.956 
7.956-7.956h-15.911zm-19.796 2.828l5.726 5.726 5.726-5.726h-11.452zm-1.414 
22.624l5.726 5.726 5.726-5.726h-11.452zm62.923-60.095l-16.968 16.968 16.968 
16.968v-33.936zm-24.566 13.254l-7.956 7.956 7.956 7.956v-15.911zm0 
22.624l-7.956 7.956 7.956 7.956v-15.911zm-24.147 2.937l-5.726 5.726 5.726 
5.726v-11.452zm-1.414 22.624l-5.726 5.726 5.726 5.726v-11.452z" 
id="Rectangle-24" fill="#0F74FB" sketch:type="MSShapeGroup"/>
+            <path d="M148.841 68.465l3.917 3.917 
3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 3.917v-7.833zm-.269 
38.673l3.917 3.917 3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 
3.917v-7.833zm12.457-33.441l3.917 3.917 3.917-3.917h-7.833zm8.753.919l-3.917 
3.917 3.917 3.917v-7.833zm-68.848 30.896l3.917 3.917 
3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 3.917v-7.833z" 
id="Rectangle-24" fill="#fff" sketch:type="MSShapeGroup"/>
+        </g>
+    </g>
+</svg>
diff --git a/betafeatures-HHVM-rtl.svg b/betafeatures-HHVM-rtl.svg
new file mode 100644
index 0000000..7798714
--- /dev/null
+++ b/betafeatures-HHVM-rtl.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="264" height="162" viewBox="0 0 264 162" 
xmlns="http://www.w3.org/2000/svg"; 
xmlns:sketch="http://www.bohemiancoding.com/sketch/ns";>
+    <g fill="none">
+        <path d="M11 24c0-7.732 6.268-14 14-14s14 6.268 14 14-6.268 14-14 
14-14-6.268-14-14z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <g sketch:type="MSShapeGroup" id="Group-+-Shape-+-Shape">
+            <g id="Group">
+                <path d="M24.833 151.362l-11.467 
9.995-12.866-9.608v-151.249h263v151.749l-9 
6.705v-116.454h-39v112.6l-4.393-3.731-7.607 5.33v-114.199h-155v110.849l-9.751 
8.031-13.916-10.018z" id="Shape" fill="#fff"/>
+                <path d="M263 1v150.998l-8 
5.96v-115.958h-40v112.019l-3.274-2.779-.589-.499-.633.44-6.504 
4.557v-113.738h-156v111.099l-9.257 7.661-13.295-9.569-.644-.465-.598.521-10.864 
9.47-12.342-9.218v-150.499h262zm1-1h-264v152l13.391 10 11.473-10 13.891 10 
10.245-8.4v-110.6h154v114.66l8.078-5.66 4.922 
4.18v-113.18h38v116.95l10-7.45v-152.5z" id="Shape" fill="#E5E5E5"/>
+            </g>
+            <path d="M203 43h-154v110.6l2.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.34v-114.66zm51 116.95v-116.95h-38v113.18l7.551 5.82 13.811-10 13.891 
10 2.747-2.05z" id="Shape" fill="#E5E5E5"/>
+        </g>
+        <path d="M38 137v-77h-25v77h25zm195-132h26v6h-26v-6z" id="Shape" 
fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <path id="Rectangle" fill="#E5E5E5" sketch:type="MSShapeGroup" d="M221 
5h6v6h-6z"/>
+        <path id="Rectangle-copy" fill="#E5E5E5" sketch:type="MSShapeGroup" 
d="M211 5h6v6h-6z"/>
+        <path id="Rectangle-copy-2" fill="#E5E5E5" sketch:type="MSShapeGroup" 
d="M201 5h6v6h-6z"/>
+        <path d="M38 47v-5h-25v5h25z" id="Shape" fill="#E5E5E5" 
sketch:type="MSShapeGroup"/>
+        <path d="M11 24c0-7.732 6.268-14 14-14s14 6.268 14 14-6.268 14-14 
14-14-6.268-14-14z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"/>
+        <g id="Group" sketch:type="MSLayerGroup">
+            <path d="M164 47.65l16.968 16.968 16.968-16.968h-33.936zm-6.363 
13.433l7.956 7.956 7.956-7.956h-15.911zm0 22.624l7.956 7.956 
7.956-7.956h-15.911zm-19.796 2.828l5.726 5.726 5.726-5.726h-11.452zm-1.414 
22.624l5.726 5.726 5.726-5.726h-11.452zm62.923-60.095l-16.968 16.968 16.968 
16.968v-33.936zm-24.566 13.254l-7.956 7.956 7.956 7.956v-15.911zm0 
22.624l-7.956 7.956 7.956 7.956v-15.911zm-24.147 2.937l-5.726 5.726 5.726 
5.726v-11.452zm-1.414 22.624l-5.726 5.726 5.726 5.726v-11.452z" 
id="Rectangle-24" fill="#0F74FB" sketch:type="MSShapeGroup"/>
+            <path d="M148.841 68.465l3.917 3.917 
3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 3.917v-7.833zm-.269 
38.673l3.917 3.917 3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 
3.917v-7.833zm12.457-33.441l3.917 3.917 3.917-3.917h-7.833zm8.753.919l-3.917 
3.917 3.917 3.917v-7.833zm-68.848 30.896l3.917 3.917 
3.917-3.917h-7.833zm8.753.919l-3.917 3.917 3.917 3.917v-7.833z" 
id="Rectangle-24" fill="#fff" sketch:type="MSShapeGroup"/>
+        </g>
+    </g>
+</svg>
diff --git a/i18n/en.json b/i18n/en.json
index 640565c..6b8a407 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -7,6 +7,6 @@
     "wikimediaevents-desc": "Logs Wikimedia-specific events using 
EventLogging",
     "tag-HHVM": "[[mw:HHVM|HHVM]]",
     "tag-HHVM-description": "Revisions made with the HipHop Virtual Machine 
enabled instead of the Zend PHP interpreter (expected to improve performance, 
tagged for debugging/analysis)",
-    "hhvm-label": "HHVM",
-    "hhvm-desc": "Try using HHVM, an alternative PHP runtime, intended to 
improve general browsing and editing performance."
+    "hhvm-label": "Faster servers with HHVM",
+    "hhvm-desc": "Switch over to the servers which are running faster, 
experimental software, HHVM. Your feedback is vital to making this work a 
success for everyone."
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3330498284279d13300936935856dc3233f7aec2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaEvents
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

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

Reply via email to