User:Dharmadhyaksha/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 can be added at User:Dharmadhyaksha/common.css. |
// 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');