User:Cuckooman4/js.js: Difference between revisions

Content deleted Content added
Cuckooman4 (talk | contribs)
Added note to see /doc
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
Line 8:
addOnloadHook(
function() {
mw.util.addPortletLink(jslinkportlet, 'http://en.wikipedia.org/w/index.php?title=Special:Mypage/' + skin + '.js&action=edit', 'Edit ' + skin + '.js', 'n-myjs')
}
)