User:Twotwofourtysix/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.
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]

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


/*
	Adds a toolbox link to do a copyvio check on the current page.

	Install by adding:
		importScript('User:The Earwig/copyvios.js'); // [[User:The Earwig/copyvios.js]]
	to your [[Special:MyPage/common.js]].
*/

mw.loader.using('mediawiki.util', function() {
	if (mw.config.get('wgNamespaceNumber') < 0) {
		return;
	}
	var url = 'https://copyvios.toolforge.org/?lang=' + mw.config.get('wgContentLanguage') +
		'&project=' + mw.config.get('wgSiteName').toLowerCase() +
		'&title=' + encodeURIComponent(mw.config.get('wgPageName'));
	if (mw.config.get('wgRevisionId') !== mw.config.get('wgCurRevisionId') ||
			mw.util.getParamValue('oldid') !== null) {
		url += '&oldid=' + encodeURIComponent(mw.config.get('wgRevisionId'));
	}
	mw.util.addPortletLink(
		'p-tb',
		url,
		'Copyvio check',
		't-copyvio-check',
		'Check this page for copyright violations'
	);
});
importScript('User:Music1201/MyCSD.js'); // Backlink: [[User:Music1201/MyCSD.js]]
importScript('User:Lourdes/PageCuration.js'); // Backlink: [[User:Lourdes/PageCuration.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript('User:BrandonXLF/HotDefaultSort.js'); // Backlink: [[User:BrandonXLF/HotDefaultSort.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:PleaseStand/userinfo.js'); // Backlink: [[User:PleaseStand/userinfo.js]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:Awesome Aasim/xfdvote.js'); // Backlink: [[User:Awesome Aasim/xfdvote.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]