r65637 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65636‎ | r65637 | r65638 >
Date:21:43, 28 April 2010
Author:churchofemacs
Status:ok
Tags:
Comment:
fixing r65546: move variable decleration up
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -34,6 +34,8 @@
3535 $this->opts['contribs'] = 'newbie';
3636 }
3737
 38+ $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' );
 39+
3840 if( !strlen( $target ) ) {
3941 $wgOut->addHTML( $this->getForm() );
4042 return;
@@ -64,8 +66,6 @@
6567 $this->opts['namespace'] = '';
6668 }
6769
68 - $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' );
69 -
7070 $this->opts['tagfilter'] = (string) $wgRequest->getVal( 'tagfilter' );
7171
7272 // Allows reverts to have the bot flag in recent changes. It is just here to

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65546fixing bug 20186: allow filtering SpecialContributions for RevisionDeleted ed...churchofemacs16:35, 26 April 2010

Status & tagging log