From: Tim Starling Date: Tue, 21 Mar 2006 00:28:37 +0000 (+0000) Subject: Specify both revisions in the diff link in IRC X-Git-Tag: 1.6.0~175 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=8966398dbe77583e5202fdc4013d05d8b22e51c9;p=lhc%2Fweb%2Fwiklou.git Specify both revisions in the diff link in IRC --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 06f9ce0f5b..ac1648d52a 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -464,9 +464,9 @@ class RecentChange } else if ( $rc_new ) { $url = $titleObj->getFullURL(); } else if ( $wgUseRCPatrol ) { - $url = $titleObj->getFullURL("diff=0&oldid=$rc_last_oldid&rcid=$rc_id"); + $url = $titleObj->getFullURL("diff=$rc_this_oldid&oldid=$rc_last_oldid&rcid=$rc_id"); } else { - $url = $titleObj->getFullURL("diff=0&oldid=$rc_last_oldid"); + $url = $titleObj->getFullURL("diff=$rc_this_oldid&oldid=$rc_last_oldid"); } if ( isset( $oldSize ) && isset( $newSize ) ) {