r99165 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99164‎ | r99165 | r99166 >
Date:23:01, 6 October 2011
Author:kaldari
Status:ok
Tags:fundraising 
Comment:
fixing year selector for campaigns
Modified paths:
  • /trunk/extensions/CentralNotice/special/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialCentralNotice.php
@@ -271,7 +271,7 @@
272272 */
273273 public static function getDateRanges() {
274274 $dateRanges = array();
275 - $dateRanges['years'] = range( 2011, date("Y") );
 275+ $dateRanges['years'] = range( date('Y'), date('Y') + 1 ); // this year and next year
276276 $dateRanges['months'] = CentralNotice::paddedRange( 1, 12 );
277277 $dateRanges['days'] = CentralNotice::paddedRange( 1, 31 );
278278 return $dateRanges;

Follow-up revisions

RevisionCommit summaryAuthorDate
r100100MFT r92510, r92676, r96496, r97304, r99160, r99165, r99169, r99176, r99178, r...awjrichards23:56, 17 October 2011

Status & tagging log