From 0cb57262132dfc94ca847d32c4331e117528291f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 7 Aug 2008 16:09:33 +0000 Subject: [PATCH] Revert r38748; this allows to pass the bot param in the form at the top of the page. Also add a comment about that. --- includes/specials/SpecialContributions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 24a8cae529..d233417d27 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -232,6 +232,12 @@ function wfSpecialContributions( $par = null ) { } else { $options['namespace'] = ''; } + + // Allows reverts to have the bot flag in recent changes. It is just here to + // be passed in the form at the top of the page + if ( $wgUser->isAllowed( 'markbotedit' ) && $wgRequest->getBool( 'bot' ) ) { + $options['bot'] = '1'; + } $skip = $wgRequest->getText( 'offset' ) || $wgRequest->getText( 'dir' ) == 'prev'; # Offset overrides year/month selection -- 2.20.1