User:Wumbolo/common.js

Source: Wikipedia, the free encyclopedia.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//importScript('User:Kephir/gadgets/sagittarius.js'); // [[User:Kephir/gadgets/sagittarius]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:SoledadKabocha/badAnchorWarning.js');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAndyZ%2Fpeerreviewer.js&action=raw&ctype=text/javascript'); // [[User:AndyZ/peerreviewer.js]]


// copied from [[User:Gorthian/common.js]]



 importScript('User:Ucucha/duplinks.js');
// [[User:Ucucha/duplinks]]

//mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AMeteor%20sandwich%20yum%2Fdabfinder.js&action=raw&ctype=text/javascript'); // [[User:Splarka/dabfinder.js]]

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Topbanana/RLRL_SR_Utility.js&action=raw&ctype=text/javascript');

//importScript('User:Meteor sandwich yum/dabfinder.js');
 // Backlink: [[User:Meteor sandwich yum/dabfinder.js]]

if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere')
	importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // [[User:V111P/js/whatLinksHereLinkFilter.js]]

importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]

// Add [[WP:Reflinks]] launcher in the toolbox on left
/*$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://69.142.160.183/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName')
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'),
  "Reflinks"  // link label
)});*/

$(function () {
 mw.util.addPortletLink(
  "p-navigation",     // toolbox portlet
  "https://en.wikipedia.org/wiki/Special:RandomRedirect",
  "Random redirect"  // link label
)});

$(function () {
 mw.util.addPortletLink(
  "p-navigation",     // toolbox portlet
  "https://en.wikipedia.org/wiki/User:Cyberbot_I/Current_AfD%27s",
  "AfD debates"  // link label
)});

$(function () {
 mw.util.addPortletLink(
  "p-navigation",     // toolbox portlet
  "https://en.wikipedia.org/wiki/User:Wumbolo/todo1",
  "To do"  // link label
)});

// Add reFill
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

// Add DisamAssist
/* User:Qwertyytrewqqwerty/DisamAssist.js */
importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' );// Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]

// Alas, not as useful as I thought it would be...
// importScript('User:Cameltrader/Advisor.js');

importScript('User:GregU/dashes.js');

importScript('User:Shubinator/DYKcheck.js');

importScript('User:Evad37/XFDcloser.js'); // [[User:Evad37/XFDcloser]]

importScript('User:Anomie/unsignedhelper.js');

importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]]

// NEW PAGE PATROL STUFF

importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]
importScript('User:Ais523/stubtagtab2.js');

/* Adds a toolbox link to do a copyvio check on the given page. */
mw.loader.using("mediawiki.util", function() {
    mw.util.addPortletLink(
        "p-tb",
        "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase() + "&title=" + encodeURIComponent(mw.config.get("wgPageName")),
        "Copyvio check",
        "t-copyvio-check",
        "Check this page for copyright violations"
    );
});

/* Automate purge confirmation dialog */
if ( mw.config.get( 'wgAction' ) === 'purge' ) {
       $('form[action*="action=purge"]').submit();
}

importScript("User:The Transhumanist/SearchSuite.js");

importScript( 'User:Equazcion/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
importScript('User:Writ Keeper/Scripts/sectionLinkShortener.js'); //Linkback: [[User:Writ Keeper/Scripts/sectionLinkShortener.js]] Added by Script installer

window.replyLinkPreloadPingTpl = "{{re|##}} ";
window.replyLinkPreloadPing = "button";
importScript('User:Wumbolo/pronouns.js'); //Linkback: [[User:Wumbolo/pronouns.js]] Added by Script installer
importScript('User:Enterprisey/cv-revdel.js'); //Linkback: [[User:Enterprisey/cv-revdel.js]] Added by Script installer
importScript('User:Wumbolo/editnotice.js'); //Linkback: [[User:Wumbolo/editnotice.js]] Added by Script installer