r38792 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38791‎ | r38792 | r38793 >
Date:16:09, 7 August 2008
Author:ialex
Status:old
Tags:
Comment:
Revert r38748; this allows to pass the bot param in the form at the top of the page. Also add a comment about that.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -232,6 +232,12 @@
233233 } else {
234234 $options['namespace'] = '';
235235 }
 236+
 237+ // Allows reverts to have the bot flag in recent changes. It is just here to
 238+ // be passed in the form at the top of the page
 239+ if ( $wgUser->isAllowed( 'markbotedit' ) && $wgRequest->getBool( 'bot' ) ) {
 240+ $options['bot'] = '1';
 241+ }
236242
237243 $skip = $wgRequest->getText( 'offset' ) || $wgRequest->getText( 'dir' ) == 'prev';
238244 # Offset overrides year/month selection

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r38748Remove (seemingly?) useless code. Feel free to revert if I'm missing somethin...demon01:22, 7 August 2008

Status & tagging log