Legoktm has submitted this change and it was merged.

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(-)

Approvals:
  Legoktm: Verified; Looks good to me, approved
  jenkins-bot: Verified



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/249556
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I33b65afa78480612b9312282922686a64346fef2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.27.0-wmf.4
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to