User:Lwarrenwiki/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:Lwarrenwiki/common.css. |
// See also vector.js
// ------------------------------------------------------------------
// ADDITIONS (don't know where they'll manifest)
// ------------------------------------------------------------------
importScript('User:Ohconfucius/script/EngvarB.js'); // [[User:Ohconfucius/script/EngvarB.js]]
importScript( 'User:Cumbril/RefConsolidate_start.js' );
importScript( 'User:Amorymeltzer/crathighlighter.js' ); // Backlink: [[User:Amorymeltzer/crathighlighter.js]]
// borrowed from [[:User:Amorymeltzer]]:
importScript("User:Amorymeltzer/userinfo.js");
// DOESN'T WORK -- importScript("User:Amorymeltzer/seventabs.js");
// -----------------------------------------------------
// ADDITIONS TO TOP MENU
// -----------------------------------------------------
// Customized version of User:Waldir/formatcitations.js
importScript("User:Lwarrenwiki/formatcitations.js");
// Auto-ed function
importScript('Wikipedia:AutoEd/complete.js');
// -----------------------------------------------------
// -----------------------------------------------------
// ADDITIONS TO LEFT SIDEBAR (TOOLBAR)
// -----------------------------------------------------
// Items that appear on both Read and Edit screens come first in the toolbar (after "Page Information"),
// in the order that they're added below:
// Add Checklinks launcher in the toolbox on left
$(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://dispenser.homenet.org/~dispenser/cgi-bin/webchecklinks.py?page=" + mw.config.get('wgPageName'),
"Checklinks" // link label
)});
// Add Dab Solver launcher in the toolbox on left
$(function () {
mw.util.addPortletLink(
"p-tb",
"http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page="+mw.config.get('wgContentLanguage')+":"+encodeURIComponent(mw.config.get('wgPageName')),
"Dab Solver"
)});
// Tool to highlight duplicate links
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
// appears as "Highlight duplicate links"
// reFill (formerly Reflinks tool)
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
// appears as "reFill"
// Toolbar items that *only* appear on an Edit screen show up on the toolbar in a second group:
//
importScript('User:Lwarrenwiki/formatgeneral.js'); // custom version of [[User:Ohconfucius/script/formatgeneral.js]]
importScript('User:Ohconfucius/script/Common Terms.js'); // [[User:Ohconfucius/script/Common Terms.js]]
//importScript('User:Ohconfucius/script/flagcruft.js');
//importScript('User:Ohconfucius/script/Sources.js');
importScript('User:Lwarrenwiki/script/LWW mosnum dates.js'); // based on [[User:Ohconfucius/script/MOSNUM dates.js]]
// [[User:Dr pda/prosesize]]
mw.loader.load('//wiki.riteme.site/w/index.php?title=User%3ADr+pda%2Fprosesize.js&action=raw&ctype=text/javascript');
// -----------------------------------------------------
// -----------------------------------------------------
// ADDITION UNDER THE PAGE NAME
// -----------------------------------------------------
// XTools gadget (revision log, etc.)
// see http://meta.wikimedia.org/wiki/User:Hedonil/XTools
// already in global.js
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
// -----------------------------------------------------
// ADDITION TO EDIT WINDOW
// -----------------------------------------------------
var SegregateRefsJsAllowConversion = true;
importScript("User:PleaseStand/segregate-refs.js");
// -----------------------------------------------------
// DEPRECATED
// -----------------------------------------------------
// importScript('User:Ohconfucius/script/EngvarB.js');
// from [[User:Ohconfucius/script/EngvarB.js]]
// importScript('User:GregU/dashes.js');
// Deprecated 2019-05-24:
// added 2018-05-01, edit tool for the Hamiltrash vandal whack-a-mole game
// [[User:Lwarrenwiki/hamiltrash.js]] is a *customized* version of [[User:Kbh3rd/whackamole.js]]
// importScript('User:Lwarrenwiki/hamiltrash.js');