User:Ohconfucius/script/MOSNUM dates.js: Difference between revisions

Content deleted Content added
No edit summary
m replaced shortcuts in edit summary
Line 428:
// Add a tag to the summary box
var txt=document.editform.wpSummary;
var summary = "[[WPWikipedia:MOSNUMManual of Style (dates and numbers)|unified date formats]], rem [[Wikipedia:Manual of Style (linking)#Overlinking and underlinking|wp:overlink]]";
if (txt.value.indexOf(summary) == -1) {
if (txt.value.match(/[^\*\/\s][^\/\s]?\s*$/)) {