Merge "Adding release note for category changes in watchlists"
[lhc/web/wiklou.git] / includes / changes / OldChangesList.php
index 4ce564d..1bd78ca 100644 (file)
@@ -88,7 +88,9 @@ class OldChangesList extends ChangesList {
                } else {
                        $unpatrolled = $this->showAsUnpatrolled( $rc );
 
-                       $this->insertDiffHist( $html, $rc, $unpatrolled );
+                       if ( !$this->isCategorizationWithoutRevision( $rc ) ) {
+                               $this->insertDiffHist( $html, $rc, $unpatrolled );
+                       }
                        # M, N, b and ! (minor, new, bot and unpatrolled)
                        $html .= $this->recentChangesFlags(
                                array(
@@ -113,6 +115,8 @@ class OldChangesList extends ChangesList {
 
                if ( $rc->mAttribs['rc_type'] == RC_LOG ) {
                        $html .= $this->insertLogEntry( $rc );
+               } elseif ( $this->isCategorizationWithoutRevision( $rc ) ) {
+                       $html .= $this->insertComment( $rc );
                } else {
                        # User tool links
                        $this->insertUserRelatedLinks( $html, $rc );