mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date
authorPrateek Saxena <prtksxna@gmail.com>
Tue, 20 Oct 2015 04:57:25 +0000 (10:27 +0530)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 28 Dec 2015 19:29:30 +0000 (20:29 +0100)
commit8c635917cd184e0c7dd75b48193db3e050e68621
tree8488f2b8a1dbb7945645daddd5a84367808f3c06
parent5fe5201f5e3e3dcc1d932c66d732009599c0a030
mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date

Use the file's lastModified date, or EXIF DateTimeOriginal (where
available) as the default value of the DateInputWidget instead of
leaving it blank.

A lot of the code here is from mw.UploadWizardUpload.prototype.checkFile.

Bug: T115863
Change-Id: I75adec9718d89a7177050e8b848478d1b0069dd0
resources/Resources.php
resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js