User:Ssong403/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');	} });