Make current year default value in the Special:Contributions
Bug: 45580 Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
This commit is contained in:
parent
029d1bea36
commit
f495a2e632
1 changed files with 1 additions and 1 deletions
|
|
@ -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'] ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue