Last modified: 2011-04-14 15:11:53 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 T17715, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15715 - Allow display of dates according to date formatting preferences without links
Allow display of dates according to date formatting preferences without links
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-24 23:53 UTC by Foxhill
Modified: 2011-04-14 15:11 UTC (History)
6 users (show)

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


Attachments

Description Foxhill 2008-09-24 23:53:50 UTC
With the depreciation of wikilinking full dates on Wikipedia to prevent overlinking etc, wouldn't it be useful to allow the following -
<date>25 August 2005</date>
<date>2005-08-25</date> etc to be displayed as previously without linking to articles?
Comment 1 Andrew Garrett 2008-09-24 23:57:10 UTC
Prefer {{#date:}}, due to being able to use wikitext in the contents (so we can pull from templates, parser functions, etc)
Comment 2 Gurch 2009-05-27 22:36:43 UTC
Yes, a new {{#date:}} parser function would be the best way to do this.

Given the idiotic drama that the English Wikipedia is now making about date linking/delinking, is there any chance I can bump up the priority on this? Right now silly measures are being taken, like having parameters in templates that specify the date format and then people squabbling over which format gets used in "their" articles. It would be MUCH easier if these things just respected users' date preferences.
Comment 3 Rex Schneider 2009-05-29 12:59:34 UTC
The {{#formatdate:}} parser function already exists and meets the request as far as single dates are concerned.
Comment 4 wclark 2009-05-30 00:43:26 UTC
Several (perhaps most) opponents of date autoformatting are opposed to it at least in part because of the extra syntax.  Although I'm strongly in support of date autoformatting, I do acknowledge that aspect of their argument as being entirely legitimate.  "{{#formatdate:29 May 2009}}" is more complicated than "[[29 May]] [[2009]]" which is more complicated than "29 May 2009" although it's still up to debate whether that extra complication is worth the benefit of autoformatting or not.

Another option here would be to keep the existing autoformatting syntax but to add a new user preference that would toggle linking on or off, and to have the default be "off" since that's what most people seem to want.  I already have the user preferences portion written and would be glad to hand it off to Andrew (or whoever) to incorporate it into the date formatting code.
Comment 5 MacGyverMagic 2009-06-24 08:01:22 UTC
I don't see the need for any extra coding. There's only a handful of possible date formats which all can be predicted. Is it really that hard to take any date displayed in an article and treat it according to a user's set preferences?
Comment 6 Gerry Ashton 2009-06-24 15:00:54 UTC
MacGyverMagic, the format of dates in direct quotes and programming language examples should not be changed, and there are so many ways to indicate direct quotes that it would not be feasible to detect whether or not a date was within a direct quote. Also I beleive Brian Vibber (spelling?) has rejected this concept

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


Navigation
Links