User:Grolltech/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Grolltech/common.css. |
/* This script adds a "Page Size" link to the toolbox in left column */
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
/* This script adds a "DYKcheck" link to the toolbox in left column */
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
/* Add External Editor Tab */
addOnloadHook(function() {
var editTab = document.getElementById("ca-edit");
if (!editTab) return;
var editURL = editTab.getElementsByTagName("a")[0].href;
mw.util.addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", "");
});
/* This script adds PERSONDATA metadata manipulation */
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
/* Adds the "{{Cite}}" button to the editing toolbar */
importScript('User:Apoc2400/refToolbarPlus.js');
/* Add court case cite to the edit toolbar */
importScript('User:MZMcBride/scotus.js');
/* [[User:Anomie/linkclassifier]] */
LinkClassifierOnDemand=true;
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
addOnloadHook(function(){
mw.util.addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'linkclassifier');
})
/* GoToTop link -- avoids having to scroll to top */
importScript('User:Numbermaniac/goToTop.js'); // Linkback: [[User:Numbermaniac/goToTop.js]]
/* Dot's Syntax hiighlight */
syntaxHighlighterConfig = {
timeout: 210, //disable highlighting if it takes more than 150ms
wikilinkColor: "#BBE8FF", // robin's egg blue, was light grey
tableColor: "#FFEEBB", // pale orange, was light yellow
headingColor: "#F4BBFF", // magenta, was light grey
listAndIndentColor: "#AAFFD4", // light aquamarine, was very pale gren
}
/* History & Diffs */
/* =============== */
/* In-place diffs: Show/hide the diff without jumping to diff page */
importScript('User:Writ Keeper/Scripts/commonHistory.js'); // Contribs & History pages
importScript('User:Writ Keeper/Scripts/userHistory.js'); // User History with in-place diffs
/* importScript('User:Equazcion/link intermediate revisions.js'); */
/* Harvard Reference Error Checker */
importScript('User:Ucucha/HarvErrors.js');
/* ////////////////////////////////////////////////// */
/* Holding Bin -- commented out stuff */
/* ////////////////////////////////////////////////// */
/* WikiSpeciestab -- tab color doesn't work yet
/*
importScript('User:Grolltech/wikispeciestab.js');
*/
/* WikiTrust -- find who added text */
/*
$.holdReady(true);
mediaWiki.loader.load("https://toolserver.org/~netaction/wikitrust.js");
*/
/* DAB Solver */
/* addOnloadHook(function () {
mw.util.addPortletLink("p-cactions",
"//toolserver.org/~dispenser/cgi-bin/dab_solver.py?page="+wgContentLanguage+":"+encodeURIComponent(mw.config.get('wgPageName')),
'Solve DABs', null, "Disambiguate links", '3');
}); */