Last modified: 2013-03-14 16:33:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1802 - Date ranges are not rendered properly
Date ranges are not rendered properly
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-01 20:51 UTC by Tristan Miller
Modified: 2013-03-14 16:33 UTC (History)
1 user (show)

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


Description Tristan Miller 2005-04-01 20:51:58 UTC
My only experience with the MediaWiki software is as a Wikipedia author, so
forgive me if this bug is misfiled.

Anyway, Wikipedia has some feature whereby dates of the form [[20 July]] or
[[July 20]] are automatically rendered according to the reader's preferred
settings.  However, this feature does not work for date ranges, so far as I can
tell.  In particular, it would be nice if the following formats could be
accounted for:

[[20 July|20]]–[[22 July]]
[[July 20]]–[[July 22|22]]

At the moment, these are rendered as follows in American English:

20–July 22 (incorrect)
July 20–22 (correct)

and as follows in International English:

20–22 July (correct)
20 July–22 (incorrect)

Both ought to be rendered the "correct" way depending on the user's settings.

Note that there are many more possible connectives other than –
("through", "to", "-", etc.), it may be necessary to introduce an entirely new
syntax for date ranges, or simply stipulate that the relatively neutral –
be used in all cases.
Comment 1 Karun 2009-12-07 20:21:28 UTC
Are they being rendered as the correct or incorrect format in your bug report?
Comment 2 Tristan Miller 2009-12-07 22:26:38 UTC
The bug report specifies exactly how they are being rendered, and which formats are correct and incorrect.  What needs clarification exactly?
Comment 3 Andre Klapper 2013-03-14 16:21:49 UTC
(In reply to comment #0)
> Anyway, Wikipedia has some feature whereby dates of the form [[20 July]] or
> [[July 20]] are automatically rendered according to the reader's preferred
> settings.

Anybody having more info about this feature (and if it really exists)?
Comment 4 Tristan Miller 2013-03-14 16:33:02 UTC
Perhaps it was removed, or at least deactivated on Wikipedia, following the 2008 RFC on date linking: [[Wikipedia:Manual of Style/Dates and numbers/Date Linking RFC]]  If that's the case then this bug report is no longer relevant for Wikipedia.  If the code supporting the feature has also been removed from MediaWiki then this bug can be closed as WONTFIX.

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