Content deleted Content added
Ohconfucius (talk | contribs) more hello |
Ohconfucius (talk | contribs) No edit summary |
||
Line 813:
editor
// Add a tag to the summary box
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)January (\d{1
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)February (\d{2}), (\d{4})/gi, "$1$3-02-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)March (\d{1}), (\d{4})/gi, "$1$3-03-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)March (\d{2}), (\d{4})/gi, "$1$3-03-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)April (\d{1}), (\d{4})/gi, "$1$3-04-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)April (\d{2}), (\d{4})/gi, "$1$3-04-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)May (\d{1}), (\d{4})/gi, "$1$3-05-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)May (\d{2}), (\d{4})/gi, "$1$3-05-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)June (\d{1}), (\d{4})/gi, "$1$3-06-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)June (\d{2}), (\d{4})/gi, "$1$3-06-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)July (\d{1}), (\d{4})/gi, "$1$3-07-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)July (\d{2}), (\d{4})/gi, "$1$3-07-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)August (\d{1}), (\d{4})/gi, "$1$3-08-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)August (\d{2}), (\d{4})/gi, "$1$3-08-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)September (\d{1}), (\d{4})/gi, "$1$3-09-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)September (\d{2}), (\d{4})/gi, "$1$3-09-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)October (\d{1}), (\d{4})/gi, "$1$3-10-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)October (\d{2}), (\d{4})/gi, "$1$3-10-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)November (\d{1}), (\d{4})/gi, "$1$3-11-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)November (\d{2}), (\d{4})/gi, "$1$3-11-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)December (\d{1}), (\d{4})/gi, "$1$3-12-0$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\|\s*(?:archive|access)-?date\s*=\s*)December (\d{2}), (\d{4})/gi, "$1$3-12-$2") // conversion of mdy dates to ymd within citation templates
.replace(/(\{\{use (?:mdy|dmy) dates)(?:\|cs1-dates=\w{1,2}|)(\|[^\}\|]+\}\})/gi, "$1|cs1-dates=ly$2");
ohc_hello_driver_summary(editor);
|