Index: branches/wmf/1.19wmf1/includes/specials/SpecialContributions.php |
— | — | @@ -44,19 +44,19 @@ |
45 | 45 | $this->opts = array(); |
46 | 46 | $request = $this->getRequest(); |
47 | 47 | |
48 | | - if ( $par == 'newbies' ) { |
49 | | - $target = 'newbies'; |
50 | | - $this->opts['contribs'] = 'newbie'; |
51 | | - } elseif ( $par !== null ) { |
| 48 | + if ( $par !== null ) { |
52 | 49 | $target = $par; |
53 | 50 | } else { |
54 | 51 | $target = $request->getVal( 'target' ); |
55 | 52 | } |
56 | 53 | |
57 | 54 | // check for radiobox |
58 | | - if ( $request->getVal( 'contribs' ) == 'newbie' ) { |
| 55 | + if ( $par == 'newbies' ) { // b/c |
59 | 56 | $target = 'newbies'; |
60 | 57 | $this->opts['contribs'] = 'newbie'; |
| 58 | + } elseif ( $request->getVal( 'contribs' ) == 'newbie' ) { |
| 59 | + $target = 'newbies'; |
| 60 | + $this->opts['contribs'] = 'newbie'; |
61 | 61 | } else { |
62 | 62 | $this->opts['contribs'] = 'user'; |
63 | 63 | } |