User:Omegatron/monobook.js/replacetab.js: Difference between revisions

Content deleted Content added
No edit summary
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(One intermediate revision by the same user not shown)
Line 9:
}
 
addOnloadHook$(function () {
if(document.forms.editform) {
mw.util.addPortletLink('p-cactions', 'javascript:replace()', 'replace', 'ca-replace', 'Regexp replace for the edit window', '', 'ca-history');
}
});