From 2f3f0323067e9769668d656a3b9803e431ac1fee Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 28 Apr 2010 21:43:23 +0000 Subject: [PATCH] fixing r65546: move variable decleration up --- includes/specials/SpecialContributions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 9f5219f915..17aaec8012 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -34,6 +34,8 @@ class SpecialContributions extends SpecialPage { $this->opts['contribs'] = 'newbie'; } + $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' ); + if( !strlen( $target ) ) { $wgOut->addHTML( $this->getForm() ); return; @@ -64,8 +66,6 @@ class SpecialContributions extends SpecialPage { $this->opts['namespace'] = ''; } - $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' ); - $this->opts['tagfilter'] = (string) $wgRequest->getVal( 'tagfilter' ); // Allows reverts to have the bot flag in recent changes. It is just here to -- 2.20.1