Content deleted Content added
Ohconfucius (talk | contribs) retrain redirects |
Ohconfucius (talk | contribs) tweaks to 'abbreviate' and 'expand' |
||
Line 450:
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@Day @Month @YYYY(?=[ ]*[\|\}])/gi, "$1@Day @FullMonth @YYYY");
ohc_regex(/(<ref[^>]*>[^<]+?[\s\(])@Day @Month @YYYY(?=[^\w\/\-%,<]*?<\/ref>)/gi, "$1@Day @FullMonth @YYYY");
ohc_regex(/([ ]\()@Day @Month @YYYY(?=\)[ ])/gi, "$1@Day @FullMonth @YYYY");
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@Month @Day, @YYYY(?=[ ]*[\|\}])/gi, "$1@FullMonth @Day, @YYYY");
ohc_regex(/(<ref[^>]*>[^<]+?[\s\(])@Month @Day, @YYYY(?=[^\w\/\-%,<]*?<\/ref>)/gi, "$1@FullMonth @Day, @YYYY");
ohc_regex(/([ ]\()@Month @Day,? @YYYY(?=\)[ ])/gi, "$1@FullMonth @Day, @YYYY");
}
Line 465 ⟶ 467:
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@Day @Month @YYYY(?=[ ]*[\|\}])/gi, "$1@Day @Mon @YYYY");
ohc_regex(/(<ref[^>]*>[^<]+?[\s\(])@Day @Month @YYYY([^\w\/\-%,<]*?<\/ref>)/gi, "$1@Day @Mon @YYYY$2");
ohc_regex(/([ ]\()@Day @Month @YYYY(?=\)[ ])/gi, "$1@Day @Mon @YYYY");
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@Month @Day, @YYYY(?=[ ]*[\|\}])/gi, "$1@Mon @Day, @YYYY");
ohc_regex(/(<ref[^>]*>[^<]+?[\s\(])@Month @Day, @YYYY([^\w\/\-%,<]*?<\/ref>)/gi, "$1@Mon @Day, @YYYY$2");
ohc_regex(/([^\w\/-])@Month @Day, @YYYY([^\w\/-])/gi, '$1@Mon @Day, @YYYY$2');
}
|