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

Content deleted Content added
No edit summary
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)
Line 65:
}
 
addOnloadHook$(function () {
if(document.forms.editform) {
addPortletLink('p-cactions', 'javascript:formatunits()', 'µ', 'ca-unitfixer', 'Fixes some unit formatting', '', '');