Jhernandez has uploaded a new change for review.

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

Change subject: Add collections icon to menu
......................................................................

Add collections icon to menu

Replace duplicate watchlist icon with new icon.

Bug: T93813
Change-Id: Ie68f991d3a13af5d2df121d1836bcad6a7ae3916
---
M includes/Gather.hooks.php
M resources/Resources.php
A resources/ext.gather.icons/plus.svg
3 files changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/47/200847/1

diff --git a/includes/Gather.hooks.php b/includes/Gather.hooks.php
index 3cf19fe..564e399 100644
--- a/includes/Gather.hooks.php
+++ b/includes/Gather.hooks.php
@@ -102,7 +102,7 @@
                                                                'text' => 
wfMessage( 'gather-lists-title' )->escaped(),
                                                                'href' => 
SpecialPage::getTitleFor( 'Gather' )->getLocalURL(),
                                                                // FIXME: 
Temporarily watchlist icon
-                                                               'class' => 
CSS::iconClass( 'watchlist', 'before' ),
+                                                               'class' => 
CSS::iconClass( 'collections-icon', 'before' ),
                                                                
'data-event-name' => 'collections',
                                                        ),
                                                ),
diff --git a/resources/Resources.php b/resources/Resources.php
index 3c4a94a..bd74619 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -53,6 +53,7 @@
                'class' => 'ResourceLoaderImageModule',
                'selector' => '.mw-ui-icon-{name}:before',
                'images' => array(
+                       'collections-icon' => 'ext.gather.icons/plus.svg',
                        'collections-read-more' => 'ext.gather.icons/next.svg',
                        'collection-owner' => 'ext.gather.icons/user.svg',
                ),
diff --git a/resources/ext.gather.icons/plus.svg 
b/resources/ext.gather.icons/plus.svg
new file mode 100644
index 0000000..38b3cf5
--- /dev/null
+++ b/resources/ext.gather.icons/plus.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 1000 800" 
enable-background="new 0 0 1280 800" width="1000" height="800">
+    <g id="g3">
+        <path d="M113.87 
494.2V301.6h301.6V0h192.7v301.6h301.6v192.7h-301.7V800h-192.6V494.2h-301.6z" 
id="path5" fill="#fff"/>
+    </g>
+</svg>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie68f991d3a13af5d2df121d1836bcad6a7ae3916
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <jhernan...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to