Legoktm has uploaded a new change for review.

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

Change subject: Fix diff/history links not showing up for ungrouped enhanced RC
......................................................................

Fix diff/history links not showing up for ungrouped enhanced RC

Looks like a typo or accident from d40cd42b9f960c.

Bug: T116899
Change-Id: I33b65afa78480612b9312282922686a64346fef2
---
M includes/changes/EnhancedChangesList.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/02/249502/1

diff --git a/includes/changes/EnhancedChangesList.php 
b/includes/changes/EnhancedChangesList.php
index b59437e..0883982 100644
--- a/includes/changes/EnhancedChangesList.php
+++ b/includes/changes/EnhancedChangesList.php
@@ -608,7 +608,7 @@
                }
 
                # Diff and hist links
-               if ( $type  == RC_LOG && $type != RC_CATEGORIZE ) {
+               if ( $type != RC_LOG && $type != RC_CATEGORIZE ) {
                        $query['action'] = 'history';
                        $data['historyLink'] = $this->getDiffHistLinks( $rcObj, 
$query );
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33b65afa78480612b9312282922686a64346fef2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to