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 4:
var r = "$1"
var txt = document.editform.wpTextbox1;
txt.value = txt.value.replace(new RegExp/(s, "g"_Century)/gi, r'$1blob');
}
 
txt.value = txt.value.replace(12th/(_Century)/gi, 'k$1/s');
// Add a tag to the summary box
var txt = document.editform.wpSummary;