From: Alex Z Date: Sun, 2 Nov 2008 03:37:24 +0000 (+0000) Subject: Put the rcid in the URL if $wgUseNPPatrol or $wgUseRCPatrol is used. X-Git-Tag: 1.31.0-rc.0~44472 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=7aae9cb1091aeb287cd2c82ffc44ae518bd94caa;p=lhc%2Fweb%2Fwiklou.git Put the rcid in the URL if $wgUseNPPatrol or $wgUseRCPatrol is used. --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 8b61a9cd6f..db350fa4df 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -607,7 +607,7 @@ class RecentChange // FIXME: *HACK* these should be getFullURL(), hacked for SSL madness --brion 2005-12-26 if( $rc_type == RC_LOG ) { $url = ''; - } elseif( $rc_new && $wgUseRCPatrol ) { + } elseif( $rc_new && ($wgUseRCPatrol || $wgUseNPPatrol) ) { $url = $titleObj->getInternalURL("rcid=$rc_id"); } else if( $rc_new ) { $url = $titleObj->getInternalURL();