User:MonkeysHK/common.js

// stick debug console right after ace editor function toggleEditOptions { $("#mw-content-text .editOptions").toggle; }

var timer = setInterval(function{	if (mw.config.get("wgCanonicalNamespace") == "Module") {		$("#mw-content-text .templatesUsed").insertAfter($("#mw-scribunto-console"));		$("#mw-content-text .mw-editTools").insertAfter($("#mw-scribunto-console"));		$("#wpSave").insertAfter($("#mw-scribunto-console input[type='button']"));		$("#wpSave").attr("class","button");		$("#mw-scribunto-console input[type='submit']").after($("", {			"class": "button",			html: "Toggle",			click: toggleEditOptions,		}));		toggleEditOptions;		// $("#mw-content-text .wikiEditor-ui").insertBefore($("#mw-scribunto-console"));		// $("#mw-content-text .wikiEditor-ui-clear").insertBefore($("#mw-scribunto-console"));	}	clearInterval(timer); }, 2000);

console.log('Custom JS Complete.');

// community header fix /* $(".fandom-community-header__background").addClass("cover");