MediaWiki:Gadget-topIcons.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12:
var page = mw.config.get('wgPageName');
addLink('Discord');
// addLink('the RuneScape Wiki', 'rsw', page);
// addLink('the RuneScape Classic Wiki', 'classicrsw', page);
// addLink('the Meta Weird Gloop Wiki', 'meta', page);
} else {
// make this work when "Show preview without reloading the page" is checked
Line 45:
 
// for styling all links at once - addPortletLink only sets an id
//$(link).addClass('gadget-external-icon');
}