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

Content deleted Content added
dating patch
Undid revision 385733575 by Ohconfucius (talk) reverting to shorten length of edit summary
Line 430:
// Add a tag to the summary box
var txt=document.editform.wpSummary;
var summary = "[[WikipediaWP:Manual of Style (dates and numbers)MOSNUM|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*$/)) {