User:Bobblewik/monobook.js/dates.js: Difference between revisions

Content deleted Content added
Bobblewik (talk | contribs)
mNo edit summary
Bobblewik (talk | contribs)
mNo edit summary
Line 6:
txt.value = txt.value.replace(new RegExp(s, "g"), r);
}
txt.value = txt.value.replace(/(\d{4}), '$1');
// Add a tag to the summary box
var txt = document.editform.wpSummary;