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

Content deleted Content added
protect 'by' template sequences inside infoboxes
tweak - bug fix for protected 'by'
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