From: Tobias Date: Wed, 28 Apr 2010 21:43:23 +0000 (+0000) Subject: fixing r65546: move variable decleration up X-Git-Tag: 1.31.0-rc.0~36987 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=2f3f0323067e9769668d656a3b9803e431ac1fee;p=lhc%2Fweb%2Fwiklou.git fixing r65546: move variable decleration up --- 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