User:Ohconfucius/script/MOSNUM dates: Difference between revisions

Content deleted Content added
mNo edit summary
Tag: Reverted
mNo edit summary
Line 54:
* It makes certain fixes that may be identified as [[:Category:CS1 errors: dates|CS1 dates errors]]
* <s>It also allows users to choose to convert dates within only the body of the article, as is permitted for reference sections (where yyyy-mm-dd dates are common) to have different dates, or throughout the article.</s> Now disabled. CS1 now manages the date rendering by [[Help:Citation_Style_1#Auto-formatting_citation_template_dates|auto-formatting citation template dates]] using parameters within the {{tl|use dmy dates}} and {{tl|use mdy dates}} templates, so this can be used to fine-tune the rendering.
 
<!-- * ISO-style dates (yyyy-mm-dd) which are outside <nowiki><ref></ref></nowiki> tags are not acted upon by the script -->
-->
 
The script adds or updates a non-displaying template {{tl|use mdy dates}} or {{tl|use dmy dates}} depending on the conversion used. This tagging allows for WM software engine to render date formats automatically in conformity with tagged format). It also facilitates future maintenance by bot by script [[WP:AWB|AWB]].