User:Ohconfucius/test/MOSNUM dates code.js: Difference between revisions

Content deleted Content added
fix - access dates vs leading zeros
protect 'by' template sequences inside infoboxes
Line 571:
regex(/([\s\(]")([^"\n]*)(")/gi, protect_function);
regex(/([\s\(]“)([^”\n]*)(”)/gi, protect_function);
regex(/(\(\{\{by\|[12]\d{3})(\}\}[-–])((?:\{\{by\|[12]\d{3}\}\}|present)\))/gi, protect_function);
//retraining redirects containing a date and some text