Wikipedia:Manual of Style/Dates and numbers/Date autoformatting: Difference between revisions
Content deleted Content added
m Bot: link syntax/spacing |
m Reverted 1 edit by 75.169.75.65 (talk) to last revision by SMcCandlish. (TW) |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1:
{{Rejected|date=September 2008<!--Consensus actually rejected this in two 2008 RfCs, reaffirmed in a followup in 2009, but the feature wasn't disabled until February 2013.-->|comment=<br/>'''The data autoformatting feature is [[mw:Manual:$wgUseDynamicDates|no longer part of the MediaWiki software]]'''}}
▲{{Supplement|[[Wikipedia:Manual of Style/Dates and numbers]]}}
Since at least 2004, it has been possible for registered users to set a preference regarding the way dates appear to them. Wikilinking all {{nowrap|dates / years}} purely for the use of autoformatting is now discouraged (See [[MOS:UNLINKDATES]]).
Line 43:
| rowspan="2" | '''What you type'''
| colspan="5" | '''What logged-in registered users see<br>(settings on first row)'''
| rowspan="2" | '''What others will see''' <sup
|-
| January 15, 2001
Line 83:
| [[May 15|15 May]] [[2005]]
|-
| <nowiki>[[2005-05-15]]</nowiki> <sup
| [[May 15]], [[2005]]
| [[May 15|15 May]] [[2005]]
Line 91:
| [[2005]]-[[May 15|05-15]]
|-
| align="left" colspan="8" |
|}
</center>
Line 97:
Even when surrounded by square brackets, those dates that do not contain both a day and a month—such as solitary months, solitary days of the week, solitary years, decades, centuries, and month-year combinations—are not autoformatted. One could make them links by using the standard piped-link notation, but the same advice applies here: such links should not be created unless they are of high value to the reader. (See [[WP:CONTEXT]].)
*Autoformatting does not function for piped links to date elements, such as "<nowiki>[[20 June|the 20th of June]]</nowiki>" or "<nowiki>[[1997 in South African sport|1997]]</nowiki>". (Several forms of piped links
* Links to date ranges in the same calendar month, such as "<nowiki>[[December 13–17]]</nowiki>" or "<nowiki>the night of [[30/31 May]]</nowiki>" cause autoformatting to fail. The autoformatting mechanism will output such dates in a damaged form: '''30/May 31''', etc.
Date elements on disambiguation pages and section headings should never be linked; the same applies to quotations, unless the original quote is linked.
[[Category:Wikipedia
|