Updated mediawiki/extensions/Wikidata
Project: mediawiki/extensions/Wikibase  6707869b8adaa3ab4ea7fd6d04479e072711a8b7

Reuse existing date formats in MwTimeIsoFormatter

This is an alternative approach for the suggested change in Ic7a5797.

Warning, this requires I232fd3b to be merged first!

Change-Id: Id09e26e78e6733d7de63e5dbadebe8821a9f4556
Updated mediawiki/extensions/Wikidata
Project: mediawiki/extensions/Wikibase  d71090270d2a7fca08ec4c293d0b9555c9da2a98

Only use date formats that can roundtrip

This partially reverts Id09e26e. Now the formatter checks for a few
specific aspects of the format given in the respective MessagesXx.php:
* Day can only be "d" (with leading zeros) or "j" (without).
* Month can only be "F" (normal), "M" (abbreviation) or "xg" (genitive).
* Both support optional dots or commas.
* Spaces between the parts are enforced.
* "Y" (full year) is enforced.

Main change still is the added support for genitive month names which
requires I232fd3b to make full roundtrips possible.

See the comments in Id09e26e for more examples of strange date formats.

Change-Id: I9aefa02a8355c9cca6ac750b2bf82a7734338640