jenkins-bot has submitted this change and it was merged.

Change subject: Provide own magnify-clip.png image
......................................................................


Provide own magnify-clip.png image

Copied from core, renamed to reflect what this icon does here (I am
not a fan of reusing the same graphic to mean completely different
things, by the way). Corrected 'width' and 'height' attributes.

Bug: 70615
Change-Id: I320859166b3b734a2e8f14ca690c9544608b690c
---
M CleanChanges_body.php
A images/showuserlinks.png
2 files changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Legoktm: Looks good to me, but someone else must approve
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/CleanChanges_body.php b/CleanChanges_body.php
index d6938c3..e178445 100644
--- a/CleanChanges_body.php
+++ b/CleanChanges_body.php
@@ -528,12 +528,13 @@
                        $userindex = count( $users ) -1;
                }
 
-               global $wgStylePath;
+               global $wgExtensionAssetsPath;
                $image = Xml::element( 'img', array(
-                       'src' => $wgStylePath . 
'/common/images/magnify-clip.png',
+                       'src' => $wgExtensionAssetsPath . 
'/CleanChanges/images/showuserlinks.png',
                        'alt' => $this->msg( 'cleanchanges-showuserlinks' 
)->text(),
                        'title' => $this->msg( 'cleanchanges-showuserlinks' 
)->text(),
-                 'height' => '12'
+                       'width' => '15',
+                       'height' => '11',
                        )
                );
 
diff --git a/images/showuserlinks.png b/images/showuserlinks.png
new file mode 100644
index 0000000..00a9cee
--- /dev/null
+++ b/images/showuserlinks.png
Binary files differ

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I320859166b3b734a2e8f14ca690c9544608b690c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CleanChanges
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoƄski <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to