Ganeshaditya1 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/59393
Change subject: Fix to bug 45580 current year is made the default value in the
search
......................................................................
Fix to bug 45580 current year is made the default value in the search
Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
---
M includes/specials/SpecialContributions.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/93/59393/1
diff --git a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index 932f05e..314ca17 100644
--- a/includes/specials/SpecialContributions.php
+++ b/includes/specials/SpecialContributions.php
@@ -381,7 +381,7 @@
}
if ( !isset( $this->opts['year'] ) ) {
- $this->opts['year'] = '';
+ $this->opts['year'] = date('Y');
}
if ( !isset( $this->opts['month'] ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/59393
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ganeshaditya1 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits