jenkins-bot has submitted this change and it was merged. Change subject: Add picture for BetaFeature integration ......................................................................
Add picture for BetaFeature integration Change-Id: Ied7d4a2379117dde9faa5d06ef5b87ebfc291e82 --- A cirrus-beta.svg M includes/CirrusSearchHooks.php 2 files changed, 45 insertions(+), 1 deletion(-) Approvals: Legoktm: Looks good to me, approved Jforrester: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/cirrus-beta.svg b/cirrus-beta.svg new file mode 100644 index 0000000..ad7ca29 --- /dev/null +++ b/cirrus-beta.svg @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg width="263px" height="161px" viewBox="0 0 263 161" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> + <title>CirrusBeta</title> + <description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description> + <defs></defs> + <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> + <path d="M-0.04296875,0 L262.813802,0 L262.813802,152.139292 L250.700521,161.951823 L236.796875,151.46875 L222.88151,161.186198 L210.27474,151.308594 L196.753906,161.532552 L183.371094,151.445312 L170.528646,161.199219 L155.871094,151.641927 L142.93099,161.692708 L130.571615,151.46875 L117.138021,161.445312 L104.061198,151.394531 L91.1953125,161.445312 L76.6132812,151.97526 L63.1041667,161.61849 L50.0898438,151.445312 L38.4088542,161.16276 L24.2591146,151.445312 L13.046875,161.10026 L-0.375,151.445312 L-0.04296875,0 Z" id="Path-17" stroke="#E5E5E5" fill="#FFFFFF" sketch:type="MSShapeGroup"></path> + <rect id="Rectangle-16" fill="#0E73FC" sketch:type="MSShapeGroup" x="55" y="26" width="16" height="16" rx="1"></rect> + <rect id="Rectangle-8" fill="#D8D8D8" sketch:type="MSShapeGroup" x="8" y="5" width="32" height="6"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="75" y="26" width="53" height="7" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="75" y="41" width="73" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="75" y="38" width="94" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="75" y="35" width="94" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="55" y="48" width="63" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="55" y="53" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="55" y="61" width="25" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#0E73FC" sketch:type="MSShapeGroup" x="55" y="66" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#4A4A4A" sketch:type="MSShapeGroup" x="55" y="74" width="36" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#4A4A4A" sketch:type="MSShapeGroup" x="55" y="79" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#D0D0D0" sketch:type="MSShapeGroup" x="55" y="88" width="42" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#D0D0D0" sketch:type="MSShapeGroup" x="55" y="93" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#D0D0D0" sketch:type="MSShapeGroup" x="55" y="102" width="20" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill="#D0D0D0" sketch:type="MSShapeGroup" x="55" y="107" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill-opacity="0.5" fill="#D4D4D4" sketch:type="MSShapeGroup" x="55" y="117" width="25" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill-opacity="0.5" fill="#D4D4D4" sketch:type="MSShapeGroup" x="55" y="122" width="114" height="1" rx="1"></rect> + <rect id="Rectangle-8-copy" fill-opacity="0.5" fill="#D4D4D4" sketch:type="MSShapeGroup" x="55" y="131" width="56" height="3" rx="1"></rect> + <rect id="Rectangle-8-copy" fill-opacity="0.5" fill="#D4D4D4" sketch:type="MSShapeGroup" x="55" y="136" width="114" height="1" rx="1"></rect> + <path d="M10,36 C10,28.268 16.268,22 24,22 C31.732,22 38,28.268 38,36 C38,43.732 31.732,50 24,50 C16.268,50 10,43.732 10,36 L10,36 Z" id="Ellipse" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M37,59 L37,54 L12,54 L12,59 L37,59 L37,59 Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M37,107 L37,72 L12,72 L12,107 L37,107 L37,107 Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M250,5 L257.51,5 L257.51,11 L250,11 L250,5 L250,5 Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M235,5 L247.51,5 L247.51,11 L235,11 L235,5 L235,5 Z M235,5 L247.51,5 L247.51,11 L235,11 L235,5 L235,5 Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M1,14.5 L261,14.5" id="Shape" stroke="#E5E5E5" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M147,6 L147,10 L55,10 L55,6 L147,6 L147,6 Z M148,5 L54,5 L54,11 L148,11 L148,5 L148,5 Z" id="Shape" fill="#E5E5E5" sketch:type="MSShapeGroup"></path> + <path d="M247.51,5 L247.51,11 L235,11 L235,5 L247.51,5 Z" id="Path" fill="#D8D8D8" sketch:type="MSShapeGroup"></path> + <path d="M231.51,5 L231.51,11 L219,11 L219,5 L231.51,5 Z" id="Path" fill="#D8D8D8" sketch:type="MSShapeGroup"></path> + <path d="M58,7 L58,9 L56,9 L56,7 L58,7 Z" id="Path-copy" fill="#D8D8D8" sketch:type="MSShapeGroup"></path> + <g id="Oval-1-+-Path-13" sketch:type="MSLayerGroup" transform="translate(59.000000, 30.000000)" stroke="#FFFFFF" stroke-width="2"> + <path d="M2.66666667,5.33333333 C4.13942607,5.33333333 5.33333333,4.13942607 5.33333333,2.66666667 C5.33333333,1.19390726 4.13942607,0 2.66666667,0 C1.19390726,0 0,1.19390726 0,2.66666667 C0,4.13942607 1.19390726,5.33333333 2.66666667,5.33333333 Z" id="Oval-1" sketch:type="MSShapeGroup"></path> + <path d="M4.55724437,4.51560974 L7.98807804,7.94644341" id="Path-13" sketch:type="MSShapeGroup"></path> + </g> + </g> +</svg> \ No newline at end of file diff --git a/includes/CirrusSearchHooks.php b/includes/CirrusSearchHooks.php index 29b7c19..c2b1f48 100644 --- a/includes/CirrusSearchHooks.php +++ b/includes/CirrusSearchHooks.php @@ -113,7 +113,7 @@ * @return bool */ public static function getPreferencesHook( $user, &$prefs ) { - global $wgCirrusSearchEnablePref; + global $wgCirrusSearchEnablePref, $wgExtensionAssetsPath; if ( $wgCirrusSearchEnablePref ) { $prefs['cirrussearch-default'] = array( @@ -121,6 +121,7 @@ 'desc-message' => 'cirrussearch-pref-desc', 'info-link' => 'https://www.mediawiki.org/wiki/Search', 'discussion-link' => 'https://www.mediawiki.org/wiki/Talk:Search', + 'screenshot' => "$wgExtensionAssetsPath/CirrusSearch/cirrus-beta.svg", ); } -- To view, visit https://gerrit.wikimedia.org/r/101444 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ied7d4a2379117dde9faa5d06ef5b87ebfc291e82 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/CirrusSearch Gerrit-Branch: master Gerrit-Owner: Chad <ch...@wikimedia.org> Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Manybubbles <never...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits