Content deleted Content added
nevermind for now |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
function replace() {
var s = prompt("Search regexp?");
Line 12 ⟶ 9:
}
$(function () {
if(document.forms.editform) {
mw.util.addPortletLink('p-cactions', 'javascript:replace()', 'replace', 'ca-replace', 'Regexp replace for the edit window', '', 'ca-history');
}
});
|