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

Content deleted Content added
tweak - bug fix for protected 'by'
trying again
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