From 87d9c352c1bff98cf79d9987319be787c8943904 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 11 Dec 2008 17:42:49 +0000 Subject: [PATCH] (bug 14843) IRC should flag redirects with "R" like it does with bots, etc. --- RELEASE-NOTES | 2 ++ includes/RecentChange.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e406fb142e..c006eba862 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -218,6 +218,8 @@ The following extensions are migrated into MediaWiki 1.14: * Added complimentary function for addHandler() called removeHandler() for removing events * Improved security of file uploads for IE clients, using a reverse-engineered algorithm very similar to IE's content detection algorithm. +* (bug 14843) IRC output for RecentChanges now contains an "R" flag if the page + is a redirect. === Bug fixes in 1.14 === diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 92b9aac4b9..06d6092825 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -645,7 +645,8 @@ class RecentChange $flag = $rc_log_action; } else { $comment = self::cleanupForIRC( $rc_comment ); - $flag = ($rc_new ? "N" : "") . ($rc_minor ? "M" : "") . ($rc_bot ? "B" : ""); + $flag = ($rc_new ? "N" : "") . ($rc_minor ? "M" : "") . ($rc_bot ? "B" : "") + . ($this->getTitle()->isRedirect() ? "R" : ""); } if ( $wgRC2UDPInterwikiPrefix === true ) { -- 2.20.1