From: Tim Starling Date: Sun, 14 Dec 2003 14:28:08 +0000 (+0000) Subject: rollback enhancement X-Git-Tag: 1.3.0beta1~1245 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=ed14647e9da96d47d15edbad9ca8207e97f9ac20;p=lhc%2Fweb%2Fwiklou.git rollback enhancement --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 6c79e247d3..b5016de12f 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -129,9 +129,12 @@ function ucListEdit( $sk, $ns, $t, $ts, $topmark, $comment, $isminor ) $link = $sk->makeKnownLink( $page, "" ); $topmarktext = $topmark ? wfMsg ( "uctop" ) : ""; $sysop = $wgUser->isSysop(); + + $extraRollback = $_REQUEST['bot'] ? '&bot=1' : ''; if($sysop && $topmark ) { $topmarktext .= " [". $sk->makeKnownLink( $page, - wfMsg( "rollbacklink" ), "action=rollback&from=" . urlencode( $target ) ) ."]"; + wfMsg( "rollbacklink" ), + "action=rollback&from=" . urlencode( $target ) . $extraRollback ) ."]"; } if($comment) {