Jump to content

User:कन्हाई प्रसाद चौरसिया/global.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
mw.loader.load('https://wikiplus-app.com/Main.js');
mw.loader.load('//zh.moegirl.org/index.php?title=MediaWiki:Gadget-EditDraft.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Catherine_Laurence/smart_rollback.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Mike.lifeguard/remote.js&action=raw&ctype=text/javascript');
mw.loader.load('https://xtools.wmflabs.org/articleinfo-gadget.jst');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
if (mw.config.get('wgNamespaceNumber') === 6 && /SVG/i.test(mw.config.get('wgTitle').slice(-3))) // SVGedit on SVG files only
    mw.loader.load( '//commons.wikimedia.org/w/index.php?title=User:Rillke/SVGedit.js&action=raw&ctype=text/javascript' );
// [[File:Krinkle_RTRC.js]]
(mw.loader.getState('ext.gadget.rtrc') ? mw.loader.load('ext.gadget.rtrc') : mw.loader.load('https://www.mediawiki.org/w/load.php?debug=false&modules=ext.gadget.rtrc&lang=' + mw.config.get('wgUserLanguage', 'zh')));
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Catherine_Laurence/active-sysops.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Catherine_Laurence/useful-links.js&action=raw&ctype=text/javascript');
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Bluedeck/source/edit-conflict.js&action=raw&ctype=text/javascript");
mw.loader.load("//meta.wikimedia.org/w/index.php?title=user:bluedeck/source/confirm-logout.js&action=raw&ctype=text/javascript");
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=user:bluedeck/serve/easy-archive.js&action=raw&ctype=text/javascript');
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');

// Linkback: [[:w:en:User:MusikAnimal/scriptManager]]
  mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/scriptManager.js');

// UTC clock
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');

//Strike out links to blocked users [[File:MediaWiki:Gadget-markblocked.js]]
mw.loader.using( [ 'mediawiki.util' ], function () {
     mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript' );
  }
 );	


//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/stewardlinks.js&action=raw&ctype=text/javascript');

/* test of patrolling for all wikis */
// mw.loader.load('//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-Mark_as_patrolled.js&action=raw&ctype=text/javascript');

// CIDR contributor checker
//mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-contribsrange.js&action=raw&ctype=text/javascript');

// xwiki checker
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');

// link counter
//mw.loader.load('//www.wikidata.org/w/index.php?title=MediaWiki:Linkscount.js&action=raw&ctype=text/javascript');

// gadget to address linter errors
//mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&bcache=1&maxage=14400&ctype=text/javascript" );

// WEF Framework
mw.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_AllEditors.js&action=raw&ctype=text/javascript');

// [[d:User:Yair rand/WikidataInfo.js]] article's title displaying the label, description, aliases and the identifier of the related Wikidata item
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Yair_rand/WikidataInfo.js&action=raw&ctype=text/javascript' );

/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
});

//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');

//commons hotcat
mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript');

//importScript('सदस्य:Shubhamkanodia/closeAFD.js'); // changed by user SM7
mw.loader.load( '//hi.wikipedia.org/w/index.php?title=user:SM7/closeAFD.js&action=raw&ctype=text/javascript' );

// new script from SM7
mw.loader.load( '//hi.wikipedia.org/w/index.php?title=user:SM7/moveR.js&action=raw&ctype=text/javascript');

// installation from enwiki
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr+pda%2Fpersondata.js&action=raw&ctype=text/javascript'); // [[User:Dr pda/persondata.js]]

mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');

// from [[:en:User:Zhaofeng_Li/reFill]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
//Preloads common deletion reasons for crosswiki use
// [[File:Snowolf_GS_delete.js]] // commented on 19 October 2018
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Snowolf/GS_delete.js&action=raw&ctype=text/javascript');

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');

// Tagger for eg. Speedy deletions
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/tagger.js> //commented on 19 October 2018
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');

// Shows the number of active sysops
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/active_sysops.js>
if(typeof(activeSysopsConfig) === 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisGS = true;

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');

// This tool shows a link to the "Wikipedia article traffic statistics" (stats.grok.se) on every article, by [[m:user:Hoo man]]
/*hitCountConfig = {'toolLinkMethod' : 'p-tb'};
mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Hoo_man/hit_count.js&action=raw&ctype=text/javascript');
Not using above script; commented on 19 October 2018 */

// A tool very similar to the Nuke Extension, but with more features
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Sledge_Hammer> // commented on 19 October 2018
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/sledgeHammer.js&action=raw&ctype=text/javascript');



// [[File:Krinkle_Global_SUL.js]] // Now it is as a gadget on hiwiki. Not needed here.
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript');

// self testing // not needed, because it can be directly tested from github
//mw.loader.load('//en.wikimedia.org/w/index.php?title=User:कन्हाई_प्रसाद_चौरसिया/hit_count.js&action=raw&ctype=text/javascript');
// discussionTools
// if ( $( '#ca-addsection' ).length ) mw.loader.using( 'ext.discussionTools.init' );

// TemplateScript
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');

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

// batchtest-plus
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/batchtest-plus.js&action=raw&ctype=text/javascript');

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

// diffedit
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' );

// Vermont's sidebar
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Vermont/sidebar.js&action=raw&ctype=text/javascript');

// RTRC
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');

// AutoUndo
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/AutoUndo.js&action=raw&ctype=text/javascript');

// AutoUndoGlobal
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/AutoUndoGlobal.js&action=raw&ctype=text/javascript');

// smart rollback
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');

if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
smartRollbackConfig.enableMarkbotedits = true;

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

// nukeAll
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/nukeAll.js&action=raw&ctype=text/javascript');

// navigation popups
mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups');

// easyBlock
if ( mw.config.get("wgDBname") !== "eswiki") {
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Hasley/easyblock.js&action=raw&ctype=text/javascript');
}

// tagger
if ( $.inArray( mw.config.get("wgDBname"), ['enwiki', 'enwikiversity', 'eswiki', 'mediawikiwiki', 'metawiki', 'simplewiki', 'wikidatawiki'] ) === -1 ) {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
}



// markBlocked
mw.loader.using( [ 'mediawiki.util' ], function () {
   mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript' );
} );

// mark-locked
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:GeneralNotability/mark-locked.js&action=raw&ctype=text/javascript");

// diff-permalink
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/diff-permalink.js&action=raw&ctype=text/javascript');

// CurIDLink
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-CurIDLink.js&action=raw&ctype=text/javascript');

// abusefilter-diff-check
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/abusefilter-diff-check.js&action=raw&ctype=text/javascript');

// permaLink
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:The_Earwig/permalink.js&action=raw&ctype=text/javascript");

// UTC Live Clock
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');

// patrolRevisions
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-patrolRevisions.js&action=raw&ctype=text/javascript' );

// CleanDeleteReasons
if ( $.inArray( mw.config.get("wgDBname"), ['eswiki'] ) === -1 ) {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/CleanDeleteReasons.js&action=raw&ctype=text/javascript');
}

// massBlock
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/massBlock.js&action=raw&ctype=text/javascript');

// HotCat
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );

// all-in-one
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/all-in-one.js&action=raw&ctype=text/javascript');

// link-deleted-revs
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Enterprisey/link-deleted-revs.js&action=raw&ctype=text/javascript");

// massRevdel
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRevdel.js&action=raw&ctype=text/javascript");

// Tulsi's mass delete tool
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tulsi Bhagat/massdelete.js&action=raw&ctype=text/javascript');

// Tim's mass-restoration tool
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus Canens/massrestore.js&action=raw&ctype=text/javascript');

// SelectiveDeleter
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/SelectiveDeleter.js&action=raw&ctype=text/javascript');

// dashboard
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hasley/dashboard.js&action=raw&ctype=text/javascript');

// WikidataInfo
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");

// ShowPageLintError
mw.loader.load("//ja.wikipedia.org/w/index.php?title=User:MawaruNeko/ShowPageLintError.js&action=raw&ctype=text/javascript");

// QuickEditCounter
mw.loader.load("//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-quickeditcounter.js&action=raw&ctype=text/javascript");

// MoreMenu
if(mw.loader.getState('ext.gadget.MoreMenu') === null) {
  mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
} else {
  mw.loader.load('ext.gadget.MoreMenu');
}

// BiDiEditing
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/BiDiEditing.js&action=raw&ctype=text/javascript');



// GS Rationale
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/GS Rationale.js&action=raw&ctype=text/javascript');


//User:Alex Smotrov/histcomb.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Alex Smotrov/histcomb.js&action=raw&ctype=text/javascript");

//User:Animum/massdelete.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Animum/massdelete.js&action=raw&ctype=text/javascript");

//User:Ais523/votesymbols.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&action=raw&ctype=text/javascript");

//user:js/6tabs-vector.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=user:js/6tabs-vector.js&action=raw&ctype=text/javascript");

//User:Writ Keeper/Scripts/massRollback.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript");

//User:PleaseStand/userinfo.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:PleaseStand/userinfo.js&action=raw&ctype=text/javascript");

//User:L235/culoghelper-personaltesting.js
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:L235/culoghelper-personaltesting.js&action=raw&ctype=text/javascript");

// CentralAuth, Proxy check and WHOIS link
// by [[User:Linedwell]], modified by [[User:Tks4Fish]]
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/CAWhoisProxy.js&action=raw&ctype=text/javascript");

// Closer for SRG
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:DannyS712/SRG.js&action=raw&ctype=text/javascript");

// Script for redirecting Special:CentralAuth pages on all wikis to the metawiki one
// by [[User:Tks4Fish]]
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/CARedirect.js&action=raw&ctype=text/javascript");

/**
 * StewardScript extends the user interface for Wikimedia stewards' convenience.
 * @see https://meta.wikimedia.org/wiki/StewardScript
 * @update-token [[File:pathoschild/stewardscript.js]]
 */
mw.loader.load("//tools-static.wmflabs.org/meta/scripts/pathoschild.stewardscript.js");

// Script for adding useful tools on the sidebar
// by [[User:Erwin]] and others
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Erwin/stewardlinks.js&action=raw&ctype=text/javascript");

// Writ Keeper's "revdel heaven" (-revi's words)
// by [[:w:en:User:Writ Keeper]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRevdel.js&action=raw&ctype=text/javascript");

// Script for adding "(steward/GS action)" to deletions and blocks
// by [[User:WhitePhosphorus]]
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/GS Rationale.js&action=raw&ctype=text/javascript");

// Link for deleted revs unbug
// by [[:w:en:User:Enterprisey]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Enterprisey/link-deleted-revs.js&action=raw&ctype=text/javascript");

// Global SUL
// by [[User:Krinkle]]
// [[File:Krinkle_Global_SUL.js]]
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript");
if ( mw.config.get("wgDBname") !== 'metawiki' ) {
	mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.patrolRevisions&lang=en');
}
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:MarcoAurelio/xwikiblock.js&action=raw&ctype=text/javascript');
// Mass block by User:Timotheus Canens
mw.loader.load('//www.mediawiki.org/w/index.php?title=User:Infinite0694/Mass_blocking_tool.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/GS_Rationale.js&action=raw&ctype=text/javascript');
//Preloads common deletion reasons for crosswiki use
// [[File:Snowolf_GS_delete.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Snowolf/GS_delete.js&action=raw&ctype=text/javascript');