User:PhantomCaleb/common.js

// Disable syntax highlighting on data pages, enable everywhere else mw.loader.using("mediawiki.api", function {	var api = new mw.Api;	if (mw.config.get('wgPageName').startsWith("Data:Translations")) {		api.saveOption("usecodemirror", 0);	} else {		api.saveOption("usecodemirror", 1);	} });

const dashboardLink = $("", {   href: "/wiki/User:PhantomCaleb/Dashboard",    text: "Dashboard", }) $("") .attr("id", "pt-dashboard") .addClass("mw-list-item") .append(dashboardLink) .insertAfter("#pt-mytalk")