User:Mr Pie 5/global.js

mw.loader.load('//internal-soap.fandom.com/index.php?title=User:Mr_Pie_5/scripts-ucp.js&action=raw&ctype=text/javascript');

mw.loader.using('mediawiki.api').then(function{	if (mw.config.get('wgWikiaEnvironment') !== "sandbox") return;	if (mw.config.get('skin') === "fandomdesktop") return;	if (mw.config.get('wgCanonicalSpecialPageName') === "ThemeDesigner") return;	new mw.Api.saveOption('skin','fandomdesktop').then(function { location.reload; }); });

// Turn the page title into a link to the page { const title = document.getElementById("firstHeading"); title.innerHTML = `${title.textContent}`; }