Ladsgroup has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/335958 )

Change subject: Add class in diff and history links in ChangesList
......................................................................

Add class in diff and history links in ChangesList

It would make it easier to select in javascript and CSS

Change-Id: I2d5ef8c180ae4ff6e7f5d0ab443dc7084f8c4c77
---
M includes/changes/ChangesList.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/58/335958/1

diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php
index 1e88e13..ccf2ced 100644
--- a/includes/changes/ChangesList.php
+++ b/includes/changes/ChangesList.php
@@ -379,7 +379,7 @@
                        $diffLink = $this->linkRenderer->makeKnownLink(
                                $rc->getTitle(),
                                new HtmlArmor( $this->message['diff'] ),
-                               [],
+                               [ 'class' => 'mw-changeslist-diff' ],
                                $query
                        );
                }
@@ -394,7 +394,8 @@
                                [],
                                [
                                        'curid' => $rc->mAttribs['rc_cur_id'],
-                                       'action' => 'history'
+                                       'action' => 'history',
+                                       'class' => 'mw-changeslist-history'
                                ]
                        );
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d5ef8c180ae4ff6e7f5d0ab443dc7084f8c4c77
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com>

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

Reply via email to