Jump to content

User:Dharmadhyaksha/common.js

From 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.
// Installation for Assessment Bar India
$.getScript("//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar/WPIndia.js&action=raw&ctype=text/javascript").then(function() {
    mw.loader.load('//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar.js&action=raw&ctype=text/javascript');
});

//This function adds a link to the toolbox which, when clicked, displays the size of the page and the size of the prose. 
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr+pda%2Fprosesize.js&action=raw&ctype=text/javascript'); // [[User:Dr pda/prosesize.js]]

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

//Migrate Infobox Indian Jurisdiction to Infobox settlement
migrateIIJ = { auto_replace: false };
importScript('User:Utcursch/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js');

// Deletion sorting script [[WP:FWDS]]
importScript('User:Fox Wilson/delsort.js'); 

// Another DELSORT tool
/* User:APerson/delsort.js */
importScript( 'User:APerson/delsort.js' );// Backlink: [[User:APerson/delsort.js]]

//For adding up-down arrows in [[WP:HOTCAT]]
window.hotcat_use_category_links = true;

//For adding Cat-A-Lot tool on WP, similar to Commons
window.catALotPrefs = {editpages:  true};
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-Cat-a-lot.js');
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-Cat-a-lot.css', 'text/css');

//User:TMg/autoFormatter; a user script that semi-automatically fixes more than 200 common errors in wiki markup 
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );


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


//CropTool
mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.CropTool');