From: Chad Horohoe Date: Thu, 11 Dec 2008 17:42:49 +0000 (+0000) Subject: (bug 14843) IRC should flag redirects with "R" like it does with bots, etc. X-Git-Tag: 1.31.0-rc.0~44039 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=87d9c352c1bff98cf79d9987319be787c8943904;p=lhc%2Fweb%2Fwiklou.git (bug 14843) IRC should flag redirects with "R" like it does with bots, etc. --- 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 ) {