MediaWiki:Gadget-skinTogglesMobile.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "→‎* * Toggles for skin cookies on mobile * * @author JaydenKieran *: const DARK_COOKIE = 'darkmode'; var currentDark = $.cookie('theme') === 'dark' || ($.cookie('theme') == null && $.cookie(DARK_COOKIE) === 'true'), darkPortletLink; var self = { init: function () { darkPortletLink = mw.util.addPortletLink( 'p-personal', '#', (currentDark ? 'Light' : 'Dark') + ' mode', 'wgl-darkmode-toggle', 'Toggle ' + (currentDark ? 'light' : 'dark') + ' mo...")
 
No edit summary
Tag: Reverted
Line 12:
var self = {
init: function () {
darkPortletLink = mw.mw.util.addPortletLink(
'p-personal',
'#',

Navigation menu