Page MenuHomePhabricator

Time selector on SpecialCentralNotice should use a standardized module
Open, LowestPublic


This bug is similar to T38791, but the execution would be different.

The time picker on Special:CentralNotice should be replaced with some kind of a dedicated time picker widget. For date picking there's a the standard jQuery datepicker, but I couldn't find anything like this for picking time: Googling found a few jQuery add-ons, and there's also something in the SemanticFormsInputs extension.

(RTL because the current time picker shows the time in reverse in RTL.)

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:21 AM
bzimport set Reference to bz36793.
bzimport added a subscriber: Unknown Object (MLST).
Amire80 created this task.May 12 2012, 1:50 PM

Blocking instead of depending on bug 36794. Find a time picker that works well

  • not USA specific
  • no RTL bugs
  • implemented as a jQuery UI widget (so that the skin/theme is automatically correct)

.. and use it. Then core can include it later.

I think we have to write it :(, in which case it isn't a standard. But I think it's a simple enough problem.

Here are some more requirements:

  • integrates with jquery.ui.datepicker, in an API-compatible way such as passing the same params to datepicker, with the time filled in and nothing else changed.
  • has a minimized mode where only the time field is displayed (without buttons, etc)

And FWIW, we aren't being clear even in English. Labels should always appear with units and timezone. Explanatory text if necessary. For example, "Manage Campaigns" has a "Start Date" column, which should indicate "(UTC)".

atgo set Security to None.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 21 2015, 7:11 AM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptAug 5 2016, 8:49 PM
Jseddon lowered the priority of this task from Medium to Lowest.Aug 16 2016, 10:59 PM

If CentralNotice's page is converted to OOjs UI, then it could use the DateTime widget. Which is already provided in MediaWiki core and supports date, time and date-time.!/api/mw.widgets.DateInputWidget

Krinkle removed a subscriber: Krinkle.

@Krinkle: I'm confused. If DateInputWidget supports date-time, what is the purpose of the DateTimeInputWidget? Also, there doesn't seem to be any documentation about DateInputWidget supporting anything besides date (either on or

mmodell removed a subscriber: awight.Jun 22 2017, 9:39 PM
Krinkle removed a subscriber: Krinkle.Jul 29 2017, 1:25 AM
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 28 2018, 12:34 PM