Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/163105
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, 40 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents
refs/changes/05/163105/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..8bfc84e
--- /dev/null
+++ b/betafeatures-HHVM-ltr.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="264" height="162" viewBox="0 0
264 162">
+ <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" 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" fill="#e5e5e5"/>
+ <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" fill="#e5e5e5"/>
+ <g fill="#e5e5e5">
+ <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"/>
+ <path d="M38 137v-77h-25v77h25zm195-132h26v6h-26v-6z"/>
+ <path d="M221 5h6v6h-6z"/>
+ <path d="M211 5h6v6h-6z"/>
+ <path d="M201 5h6v6h-6z"/>
+ <path d="M38 47v-5h-25v5h25z"/>
+ <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"/>
+ </g>
+ <g fill="none">
+ <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" fill="#0f74fb"/>
+ <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" fill="#fff"/>
+ </g>
+</svg>
diff --git a/betafeatures-HHVM-rtl.svg b/betafeatures-HHVM-rtl.svg
new file mode 100644
index 0000000..f17320b
--- /dev/null
+++ b/betafeatures-HHVM-rtl.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="264" height="162" viewBox="0 0
264 162">
+ <path d="M239.167 151.362l11.467 9.995
12.866-9.608v-151.249h-263v151.749l9 6.705v-116.454h39v112.6l4.393-3.731 7.607
5.33v-114.199h155v110.849l9.751 8.031 13.916-10.018z" fill="#fff"/>
+ <path d="M1 1v150.998l8
5.96v-115.958h40v112.019l3.274-2.779.589-.499.633.44 6.504
4.557v-113.738h156v111.099l9.257 7.661 13.295-9.569.644-.465.598.521 10.864
9.47 12.342-9.218v-150.499h-262zm-1-1h264v152l-13.391 10-11.473-10-13.891
10-10.245-8.4v-110.6h-154v114.66l-8.078-5.66-4.922
4.18v-113.18h-38v116.95l-10-7.45v-152.5zM61 43h154v110.6l-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.34v-114.66zm-51 116.95v-116.95h38v113.18l-7.551
5.82-13.811-10-13.891 10-2.747-2.05z" fill="#e5e5e5"/>
+ <g fill="#e5e5e5">
+ <path d="M253 24c0-7.732-6.268-14-14-14s-14 6.268-14 14 6.268 14 14 14
14-6.268 14-14zM226 137v-77h25v77h-25zm-195-132h-26v6h26v-6zM43 5h-6v6h6zM53
5h-6v6h6zM63 5h-6v6h6zM226 47v-5h25v5h-25zM253 24c0-7.732-6.268-14-14-14s-14
6.268-14 14 6.268 14 14 14 14-6.268 14-14z"/>
+ </g>
+ <g fill="none">
+ <path d="M100 47.65l-16.968 16.968-16.968-16.968h33.936zm6.363
13.433l-7.956 7.956-7.956-7.956h15.911zm0 22.624l-7.956
7.956-7.956-7.956h15.911zm19.796 2.828l-5.726 5.726-5.726-5.726h11.452zm1.414
22.624l-5.726 5.726-5.726-5.726h11.452zm-62.923-60.095l16.968 16.968-16.968
16.968v-33.936zm24.566 13.254l7.956 7.956-7.956 7.956v-15.911zm0 22.624l7.956
7.956-7.956 7.956v-15.911zm24.147 2.937l5.726 5.726-5.726 5.726v-11.452zm1.414
22.624l5.726 5.726-5.726 5.726v-11.452z" fill="#0f74fb"/>
+ <path d="M115.159 68.465l-3.917
3.917-3.917-3.917h7.833zm-8.753.919l3.917 3.917-3.917 3.917v-7.833zm.269
38.673l-3.917 3.917-3.917-3.917h7.833zm-8.753.919l3.917 3.917-3.917
3.917v-7.833zm-12.457-33.441l-3.917 3.917-3.917-3.917h7.833zm-8.753.919l3.917
3.917-3.917 3.917v-7.833zm68.848 30.896l-3.917
3.917-3.917-3.917h7.833zm-8.753.919l3.917 3.917-3.917 3.917v-7.833z"
fill="#fff"/>
+ </g>
+</svg>
diff --git a/i18n/en.json b/i18n/en.json
index 2275cb7..6b8a407 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -6,6 +6,7 @@
},
"wikimediaevents-desc": "Logs Wikimedia-specific events using
EventLogging",
"tag-HHVM": "[[mw:HHVM|HHVM]]",
- "hhvm-label": "HHVM",
- "hhvm-desc": "Try using HHVM, an alternative PHP runtime, intended to
improve general browsing and editing performance."
+ "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": "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/163105
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: wmf/1.24wmf22
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits