Add datetime input widget
commit57342159dab992bcd28d1e8fc4c1ca804bf61962
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 4 Jan 2016 01:34:42 +0000 (3 17:34 -0800)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 5 Jan 2016 05:14:55 +0000 (4 21:14 -0800)
tree51a2ac94c18932b3e6f43a5d10fc126ddce14e1b
parent47a052b797ef8ef650aa799261c984f6abc295d8
Add datetime input widget

Since OOJS-UI isn't currently in a position to accept such things, the
decision is to put it in MediaWiki instead. Once OOJS-UI is
un-monolithicized and the i18n issue is solved, this should be somehow
moved there instead.

Change-Id: Ia3942c76804c865c1039904d170ee6eafcdc6793
12 files changed:
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki.widgets.datetime/CalendarWidget.js [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/CalendarWidget.less [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/DiscordianDateTimeFormatter.js [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.definitions.less [new file with mode: 0644]
resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js [new file with mode: 0644]