User:Ohconfucius/script/Sources.js: Difference between revisions

Content deleted Content added
add to protection
made more generic for harvard and sfn templates
Line 446:
 
regex(/((?:[\[=]\s*)(?:https?:|ftp:))([^\]\|\}]*)(\s*[\]\|\}])/gi, protect_function);
regex(/(\{\{(?:harv\w*|sfn\w*|cite ?book)\s?\|)([^\}]+)(\})/gi, protect_function);
regex(/(\|\s*contribution\s*=)([^|}]+)(\|\})/gi, protect_function);