MediaWiki:Gadget-Twinkle.js: Difference between revisions

No edit summary
Tag: Reverted
Undo revision 17287 by JakeL (talk)
Tags: Undo Reverted
Line 395: Line 395:


// If using a skin with space for lots of modules, display a link to Twinkle Preferences
// If using a skin with space for lots of modules, display a link to Twinkle Preferences
/*const usingSkinWithDropDownMenu = mw.config.get('skin') === 'vector' || mw.config.get('skin') === 'vector-2022' || mw.config.get('skin') === 'timeless';
const usingSkinWithDropDownMenu = mw.config.get('skin') === 'vector' || mw.config.get('skin') === 'vector-2022' || mw.config.get('skin') === 'timeless';
if (usingSkinWithDropDownMenu) {
if (usingSkinWithDropDownMenu) {
Twinkle.addPortletLink(mw.util.getUrl('MediaWiki:Twinkle-config.js'), 'Config', 'tw-config', 'Open Twinkle preferences page');
Twinkle.addPortletLink(mw.util.getUrl('MediaWiki:Twinkle-config.js'), 'Config', 'tw-config', 'Open Twinkle preferences page');
}*/
}
};
};