User:Cuckooman4/js.js: Difference between revisions

Content deleted Content added
Cuckooman4 (talk | contribs)
m moved User:Cuckooman4/monobookjs.js to User:Cuckooman4/js.js: Not just for monobook.js
Cuckooman4 (talk | contribs)
Added jslinkportlet var
Line 3:
//Adds a link to edit your monobook.js/whatever skin you use.js.
//<pre><nowiki>
 
var jslinkportlet = "p-navigation"
 
addOnloadHook(
function() {
addPortletLink('p-navigation'jslinkportlet, 'http://en.wikipedia.org/w/index.php?title=Special:Mypage/' + skin + '.js&action=edit', 'Edit ' + skin + '.js', 'n-myjs')
}
)