Wikipedia:WikiProject User scripts/Scripts/Replace: Difference between revisions

Content deleted Content added
JesseW (talk | contribs)
turn this into a installable function, requiring addLink
Line 11:
}
}
 
addOnloadHook(function () {
if(document.forms.editform) {
addLink('p-cactions', 'javascript:replace()', 'replace', 'ca-replace', 'Regexp replace for the edit window', '', 'ca-history');
}
});
 
/* </nowiki></pre> */