From: Ævar Arnfjörð Bjarmason Date: Fri, 4 Nov 2005 12:07:32 +0000 (+0000) Subject: * (bug 327��) modify teh rc putput X-Git-Tag: 1.6.0~1221 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=7d657c51160dfb78e44017a0a1a883c929d2171d;p=lhc%2Fweb%2Fwiklou.git * (bug 327��) modify teh rc putput --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index bc3d250fde..2f036750f0 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -439,7 +439,9 @@ class RecentChange $title = $titleObj->getPrefixedText(); $title = str_replace($bad, $empty, $title); - if ( $rc_new ) { + if ( $rc_new && $wgUseRCPatrol ) { + $url = $titleObj->getFullURL("rcid=$rc_id"); + } else if ( $rc_new ) { $url = $titleObj->getFullURL(); } else if ( $wgUseRCPatrol ) { $url = $titleObj->getFullURL("diff=0&oldid=$rc_last_oldid&rcid=$rc_id");