User:Lwarrenwiki/common.js: Difference between revisions

Content deleted Content added
dashes
trying crathighlighter.js
 
(22 intermediate revisions by the same user not shown)
Line 1:
// 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:LwarrenwikiCumbril/formatcitationsRefConsolidate_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:
// XTools gadget:
//
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('//metaen.wikimediawikipedia.org/w/index.php?title=User:Hedonil/XTools/XTools%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');
// 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");
 
// -----------------------------------------------------
// Tool to highlight duplicate links
// DEPRECATED
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
// -----------------------------------------------------
 
// importScript('User:Ohconfucius/script/EngvarB.js');
// temporarily removed
// from [[User:Ohconfucius/script/EngvarB.js]]
// importScript('User:GregU/dashes.js');
 
// Deprecated 2019-05-24:
// Customized version of User:Waldir/formatcitations.js
// added 2018-05-01, edit tool for the Hamiltrash vandal whack-a-mole game
importScript("User:Lwarrenwiki/formatcitations.js");
// [[User:Lwarrenwiki/hamiltrash.js]] is a *customized* version of [[User:Kbh3rd/whackamole.js]]
 
// importScript('User:Ohconfucius/scriptLwarrenwiki/EngvarBhamiltrash.js');
// [[User:Ohconfucius/script/EngvarB.js]]