Page MenuHomePhabricator

Add date picker to Special:TranslationStats
Closed, ResolvedPublic

Description

Add a date picker to Special:TranslationStats for the field "Starting date:" (which should probably be "Start date:".

Can probably re-use the date picker of extension TranslationNotifications (Special:NotifyTranslators).

Additional requirements:

  1. Cannot pick a start of report date after today.

Version: master
Severity: enhancement

Details

Reference
bz37004

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:25 AM
bzimport set Reference to bz37004.

Work in progress at https://gerrit.wikimedia.org/r/#/c/8342/.

Todo:

  • date is currently yyyymmddhhmmss. It's probably enough to let it be yyyy-mm-dd, but that requires some other code changes. Hoping Niklas can help out there.

I rebased that commit and changed it a little, I tested it on sandbox and it seems to work well.

I don't see where yyyymmddhhmmss is used. It looks like the current format is OK.

Updated https://gerrit.wikimedia.org/r/#/c/8342/ , with a fix for yyyymmddhhmmss. Needs review.