User:ShadowLife111/dark-mode-toggle.js

// Promoted to gadget, Dec 2021

mw.loader.using(['mediawiki.util', 'mediawiki.api']).then(function {	if (!mw.user.options.get('gadget-Dark-Mode-toggle')) {		new mw.Api.saveOption('gadget-Dark-Mode-toggle', '1');	} });