dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
602ae2c
)
Merge "Ported r112366 from 1.19wmf branch indefinitely."
author
Reedy
<reedy@wikimedia.org>
Wed, 2 May 2012 17:12:02 +0000
(17:12 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 2 May 2012 17:12:03 +0000
(17:12 +0000)
includes/specials/SpecialContributions.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
e84118b
..
1b7494f
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-54,6
+54,9
@@
class SpecialContributions extends SpecialPage {
if ( $request->getVal( 'contribs' ) == 'newbie' ) {
$target = 'newbies';
$this->opts['contribs'] = 'newbie';
+ } elseif ( $par === 'newbies' ) { // b/c for WMF
+ $target = 'newbies';
+ $this->opts['contribs'] = 'newbie';
} else {
$this->opts['contribs'] = 'user';
}
@@
-654,7
+657,7
@@
class ContribsPager extends ReverseChronologicalPager {
} else {
$condition['rev_user_text'] = $this->target;
$index = 'usertext_timestamp';
- }
+ }
}
if ( $this->deletedOnly ) {
$condition[] = "rev_deleted != '0'";