User:RealFakeKim/Scripts/commonLinks.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
//common.css has to come first so common.js can load in front of it
 
//common.js link
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:MyPage/common.js' ),
'common.js',
'pt-common.js',
'Your common.js page',
null,
'#pt-betafeatures'
);
 
//common.css link
/*
mw.util.addPortletLink(
'p-personal',
Line 12 ⟶ 22:
'#pt-betafeatures'
);
*/
 
//[[Category:Wikipedia scripts]]
//common.js link
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:MyPage/common.js' ),
'common.js',
'pt-common.js',
'Your common.js page',
null,
'#pt-common.css'
);