Last modified: 2012-10-17 15:26:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38791, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36791 - Date selector on SpecialCentralNotice should use the jquery.ui.datepicker module
Date selector on SpecialCentralNotice should use the jquery.ui.datepicker module
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Adam Wight
: easy, fun-com, fundraising, i18n, patch-need-review
Depends on:
Blocks: rtl
  Show dependency treegraph
Reported: 2012-05-12 11:54 UTC by Amir E. Aharoni
Modified: 2012-10-17 15:26 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Amir E. Aharoni 2012-05-12 11:54:02 UTC
The current date selector on Special:CentralNotice is hand-crafted and this has several problems:
* It may require separate maintenance.
* It assumes the USA order of month, day, year.
* With an RTL interface language the order becomes even stranger: year, day, month.

It should be replaced by the jQuery datepicker, which is already used in at least two extension, is well maintained by its own and has pretty good internationalization.
Comment 1 Krinkle 2012-05-13 23:04:00 UTC
Rephrasing to specific task of changing to to use jquery.ui.datepicker module (instead of "a jQuery datepicker").
Comment 2 Adam Wight 2012-08-07 19:13:20 UTC
Here's an attempted fix.  The date should be correctly internationalized, thanks for the report!

Note You need to log in before you can comment on or make changes to this bug.