I'm just noodling through the requirements for something that might help build consensus. Even if you think this is the worst idea, please take a minute and think through how it could be changed or improved to help bring us to a middleground. There's a place for your comments at the bottom. Thanks!

[edit]

It appears there are three intertangled threads here

* the other side of the linked date is really really big and full of random stuff, so not that useful in practice

People have been using DA to suggest removing wikilinking and consequently autoformatting. I believe that dates (like units) should be structured data. I imagine a template like this, which does not exist yet of course. The key thing is that similar to the age/birth/death templates, it's structured data behind the scenes, but looks like plain text on the page. I'm suggesting AWL as a counter proposal name, but would gladly take suggestions for a better title.

WIKIcode => What the default non registered user as well as an editor would see (ie: not linked)
{awl|2008|08|10} => 10 August 2008 (default is international)
{awl|2008|08|10|format=us} => August 10, 2008
{awl|2008|08|10|format=int} => 10 August 2008
{awl|2008|08|10|format=iso} => 2008-08-10

Interesting edges:
{awl|2008|08|10|string=Aug 10 08} => Aug 10 08 (used to specify exactly how an editor wants it to look)
{awl|2008|08|10|string=My name is Bill} => My name is Bill (would not recommend this, but ... )
{awl|2001|09|11|string=[[September 11, 2001]]} => September 11, 2001 (including links to specific dates)

Other Era's: (note, Im not too sure of this section)
{awl|2008|08|10|era=AD} => 10 August 2008 (default, but not displayed)
{awl|2008|08|10|format=usera} => August 10, 2008 AD (format says display, AD is default)
{awl|2008|08|10|era=BC} => 10 August 2008 (not sure, should BC display? imho no)
{awl|2008|08|10|era=BC|format=usera} => August 10, 2008 BC (format says display, BC is defined)
{awl|2008|08|10|era=CE|format=intera} => 10 August 2008 CE (format says display, CE is defined)

Sorting:
(see below for discussion) {awl|2008|08|10|sort} will do the same thing as the dts template, using html to allow table sorting...

Notes

[edit]

Comments from other people

[edit]

Please sign, please keep comments brief and non-emotional. thanks

* Thanks for your comments, let me respond here to clarify and eventually edit the above.
1) You're focused on when we should use format or the other. For the purposes of this tool, it's irrelevant. The tool will use whatever format the editor chooses, currently international by default. I strongly prefer simple rules for this, but editors will ensure the correct behavior is followed.
2) This template will complain if the date is not entered properly, and will ensure a consistent structured format. The current implementation of DA is flawed, but it's not related to this template at all. I wouldnt even call this date autoformatting, it's a template, much like ((age))
 : dm (talk) 22:20, 11 September 2008 (UTC)


On the whole I am impressed by the originality of the solution, as it does appear to address the issues of auto-formatting and date preferences. However, I have some misgivings about aspects of the implementation. My preliminary comments are as follows:
  1. inputting of these dates as templates is inherently unnatural. I suspect that most editors will continue to input dates in the manner in which they are accustomed to doing at present. As the conversion of input dates from 'natural' to templated is heavily repetitive, we would be relying mostly on bots to do most of the drudge work - a task you appear not to favour, probably for good reason. However, un-linked and de-linked dates will never be converted unless someone does it manually;
  2. autoformatting should be made to work on its own to convert the template into the preferred date format of the user - and not be forced by a 'format' parameter. In the absence of pre-set user preferences, dates should default to international;
Ohconfucius (talk) 07:30, 11 September 2008 (UTC)
* Thanks, that's a good point. I believe the "linked dates" in place today can easily be turned into this template. Plain text dates will take a lot more effort though could potentially be human script assisted. As for it being natural, many people have been able to use ((age)) successfully. I think if the tool is beneficial enough, people will use it. If not, they'll put in plain text dates. Either way, all of the current issues driving so many people in this group will be resolved. dm (talk) 22:20, 11 September 2008 (UTC)
  • While there are certainly people who can and like to use the ((age)) template, I suspect that it is a very small number of individuals who go around checking celebrity infoboxes and putting in the template - but this is something which can only be verified by studying the use of that template. My contention is that the vast majority of editors will use plain text dates, either in ignorance, or in fear. As the de-linking is taking place at quite a pace (because many people, like me seriously dislike date-linking), converting raw dates into your proposed template will have to rely on manual convertions. Ohconfucius (talk) 02:06, 12 September 2008 (UTC)
* Thanks for your comment. I admit I dont know much about the limits of ISO, and the different calendars. I suspect if we flesh out the requirements a bit more, this should be do-able. dm (talk) 22:20, 11 September 2008 (UTC)
* I appreciate the feedback. I should make it clearer, but I dont actually think personal formatting preferences are required for this template to succeed and I would be ok if they were not implemented. As long as editors and ip users saw the same thing, would this meet all the criteria you can think of? dm (talk) 22:20, 11 September 2008 (UTC)
  • Absolutely. But, as far as I know, it would be unrealistic and unnecessary to provide a preferences option for all readers of Wikipedia via a cookie. Date formats—I suspect—are far more important to editors than to readers. To automatically dish-out custom content to readers would require that Wikipedia’s servers look to the requesting readers’ I.P. address and geomap that via a database to the readers’ country. This sort of thing is done all the time on commercial Web servers so webmasters can track user statistics such as where the visitor lives, what operating system they’re using, what browser, and other details. Many Web sites we visit will have little adverts saying “Meet hot chicks who live in [your city name here]” because the adverts avail themselves of this information. But, as far as I know, there are no parser functions on Wikipedia that accomplish this sort of stunt. I’m not even sure Wikipedia’s servers are currently capable of capturing this data and keeping it linked to the reader’s request.

    But if such parser functions were to become available, I could think of far better uses than dates formatting. Like I said, I’m an American and normally write “February 2, 2008” in daily life. But when I’m on Wikipedia writing for an international audience, I use international date formats for articles not closely tied to the U.S. And for me personally, I don’t mind either format. I personally take brief note of the international format when I first encounter it on an article, but it isn’t too distracting. But I am quite distracted when I encounter words that aren’t spelled “correctly”. And by “correctly”, I mean my spell checker doesn’t flag it as incorrect. I use and think in American English and every damned time I encounter something like “realise”, I stop and think, “wait, is that right?” These little (!) brain interrupts are a nuisance we just have to live with on Wikipedia being what it is. If we had I.P.-based geolocation capability at the server level and the parser functions to use in templates, we could have templates like ((dialect|US|commonwealth|realize|realise)) and ((dialect|US|commonwealth|trunk|boot)) and ((dialect|US|commonwealth|long-distance line|trunk line)) and ((dialect|US|commonwealth|President Bush is a heck of a deciderator.|That nitwit Bush: how could those Americans vote for him TWICE!)). These would be the first improvements I would make, anyway, once I had access to such parser functions. Greg L (talk) 22:49, 11 September 2008 (UTC)

    P.S. reading your proposal (finally) thoroughly enough to understand (I think) what you are proposing, what is the benefit? Why not just write out the date in fixed text? Please explain in layman’s language what your tool does. Greg L (talk) 22:57, 11 September 2008 (UTC)

  • Yeah, I echo Greg's comment here: I find it hard to imagine exactly what the editor's experience and the readers' experience will be. I take it that the bot will not turn dates blue, but that the editor will choose a global format for a whole article, which will override inconsistent individual dates and will display them all as pain black text. Is that it? Where would the template be entered? In which case, it seems to be a lot of trouble. I guess there's an advantage in that subsequent edits in the wrong format will be rendered correctly. Tony (talk) 23:51, 11 September 2008 (UTC)
  • Ok, to be clear, this does not suggest per user or "worldwide" preferences. This lets the editor enter a date in an unambiguous format and have it displayed for "all users (registered, ip, anything else there might be) " in a consistent form for that date only. If there were ten dates in an article, you would have to put 10 templates in. In my notes, I had mulled over the idea that there could be an article wide setting like DEFAULTSORT, but thats a bit tangential, better to focus on a simply worded statement.
So the question is "why do this". I've been mulling this over, and dont have a strongly worded statement. a) structured data helps ensure consistency (at whatever scale is important) and removes ambiguity b) other tools can leverage structured data in ways that might surprise us dm (talk) 16:22, 14 September 2008 (UTC)


* I see your point. I think it avoids the ambiguity question, but I certainly agree your proposal is simpler for a lot of editors. Perhaps a compromise is ((date|30 February 2008|2008|2|30|etc|etc)) ie: people can enter the plain text in first and if that's all they do, great. dm (talk) 16:25, 14 September 2008 (UTC)
I understand what you're saying. I look at it the same way I look at the cite template as opposed to a plain ref, as opposed to no reference at all. The cite template lets us break out the component pieces and yet, to the reader, it just looks like a nicely formatted reference. I've at least made myself clear now, so I think I'm going to wind this down. Thanks for your comments dm (talk) 02:39, 17 September 2008 (UTC)