dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make current year default value in the Special:Contributions
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialContributions.php
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
a0351a4
..
52261c9
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-388,7
+388,7
@@
class SpecialContributions extends SpecialPage {
}
if ( !isset( $this->opts['year'] ) ) {
- $this->opts['year'] =
''
;
+ $this->opts['year'] =
gmdate( 'Y' )
;
}
if ( !isset( $this->opts['month'] ) ) {