Content deleted Content added
Ohconfucius (talk | contribs) space and hard space in birth/death/release templates |
Ohconfucius (talk | contribs) bug fix for newly introduced protection for quotation templates |
||
Line 539:
txt.value=txt.value.replace(/(<blockquote>[^<]+?)((?:[0-3]?\d)(?:th|st|nd|rd|),?(?:\sof)?)\s(Jan(?:uary|\.|)|Feb(?:ruary|\.|)|Mar(?:ch|\.|)|Apr(?:il|\.|)|May\.?|Jun(?:e|\.|)|Jul(?:y|\.|)|Aug(?:ust|\.|)|Sep(?:tember|\.|t\.|)|Oct(?:ober|\.|)|Nov(?:ember|\.|)|Dec(?:ember|\.|))(,?\s[12]?\d{3})?([^<]+?<\/blockquote>)/g, '$1$2 $3$4$5');
//quotation templates
txt.value=txt.value.replace(/({[^{]{0,6}(?:[Qq]uot[^\|]{1,7}
//permanent protection for mdy dates within images
Line 554:
txt.value=txt.value.replace(/(<blockquote>[^<]+?)([^\d][^\w\d])(Jan(?:uary|\.|)|Feb(?:ruary|\.|)|Mar(?:ch|\.|)|Apr(?:il|\.|)|May\.?|Jun(?:e|\.|)|Jul(?:y|\.|)|Aug(?:ust|\.|)|Sep(?:tember|\.|t\.|)|Oct(?:ober|\.|)|Nov(?:ember|\.|)|Dec(?:ember|\.|))(\sthe)?\s((?:[0-3]?\d)(?:th|st|nd|rd|),?)\s([12]\d{3})([^<]+?<\/blockquote>)/g, '$1$2$3$4 $5 $6$7');
//quotation templates
txt.value=txt.value.replace(/({[^{]{0,6}(?:[Qq]uot[^\|]{1,7}
}
|