Jump to content

User:Mdaniels5757/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mdaniels5757 (talk | contribs) at 15:16, 18 August 2020 (Installing User:Enterprisey/offset-history-link.js (script-installer)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
var logOnDecline = true;
var logOnDeclinePath = 'User:Mdaniels5757/CSD decline log';

mw.hook('moremenu.ready').add(function (config) {
	// Inspired by removeNativeLinks in MoreMenu source
    var linksToRemove = [
    	'#mm-page-change-model',
    	'#mm-page-purge-cache'
    ];
    
    $(linksToRemove.join(',')).remove();
});

//mw.loader.load( '/w/index.php?title=User:%C3%9Ejarkur/NeverUseMobileVersion.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Þjarkur/NeverUseMobileVersion.js]]
importScript('User:Anomie/unsignedhelper.js'); // Backlink: [[User:Anomie/unsignedhelper.js]]
importScript('User:Awesome Aasim/editrequest.js'); // Backlink: [[User:Awesome Aasim/editrequest.js]]
importScript('User:Bellezzasolo/Scripts/arb.js'); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
importScript('User:BrandonXLF/Restorer.js'); // Backlink: [[User:BrandonXLF/Restorer.js]]
importScript('User:DannyS712/DiscussionCloser.js'); // Backlink: [[User:DannyS712/DiscussionCloser.js]]
importScript('User:DannyS712/EFFPRH.js'); // Backlink: [[User:DannyS712/EFFPRH.js]]
importScript('User:DannyS712/PageMoverClosure.js'); // Backlink: [[User:DannyS712/PageMoverClosure.js]]
importScript('User:Danski454/UserLogToolbar.js'); // Backlink: [[User:Danski454/UserLogToolbar.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript('User:Enterprisey/delsort.js'); // Backlink: [[User:Enterprisey/delsort.js]]
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript('User:Enterprisey/easy-brfa.js'); // Backlink: [[User:Enterprisey/easy-brfa.js]]
importScript('User:Enterprisey/sync-template-sandbox.js'); // Backlink: [[User:Enterprisey/sync-template-sandbox.js]]
importScript('User:EnterpriseyBot/AFCRHS.js'); // Backlink: [[User:EnterpriseyBot/AFCRHS.js]]
importScript('User:Equazcion/SafetyEdit.js'); // Backlink: [[User:Equazcion/SafetyEdit.js]]
importScript('User:Equazcion/SidebarHistoryTools.js'); // Backlink: [[User:Equazcion/SidebarHistoryTools.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Frietjes/templatecompare.js'); // Backlink: [[User:Frietjes/templatecompare.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:MGA73/nowcommonsreview.js'); // Backlink: [[User:MGA73/nowcommonsreview.js]]
importScript('User:Majavah/Unslashifier.js'); // Backlink: [[User:Majavah/Unslashifier.js]]
importScript('User:Mdaniels5757/Modified-ProveIt.js'); // Backlink: [[User:Mdaniels5757/Modified-ProveIt.js]]
importScript('User:Salix alba/TDList.js'); // Backlink: [[User:Salix alba/TDList.js]]
importScript('User:Suffusion of Yellow/effp-helper.js'); // Backlink: [[User:Suffusion of Yellow/effp-helper.js]]
importScript('User:Writ Keeper/Scripts/cuStaleness.js'); // Backlink: [[User:Writ Keeper/Scripts/cuStaleness.js]]
importScript('User:Þjarkur/CleanDiffURLs.js'); // Backlink: [[User:Þjarkur/CleanDiffURLs.js]]
//importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: [[User:קיפודנחש/cat-a-lot.js]]
importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/Draftify.js]]

importScript('User:Enterprisey/reply-link.js'); // Backlink: [[User:Enterprisey/reply-link.js]]
window.replyLinkPreloadPingTpl = "{{ping|##}} ";

importScript('User:Enterprisey/draft-sorter.js'); // Backlink: [[User:Enterprisey/draft-sorter.js]]
//importScript('User:DannyS712/RemindMe.js'); // Backlink: [[User:DannyS712/RemindMe.js]]

importScript('User:Mdaniels5757/markAdmins.js'); // Backlink: [[User:Mdaniels5757/markAdmins.js]]
window.markAdminCfg = {
	groups: {
		'abusefilter': { enabled: true },
		'abusefilter-helper': { enabled: true },
		'accountcreator': { enabled: true },
		'autoreviewer': { enabled: true },
		'extendedmover': { enabled: true },
		'filemover': { enabled: true },
		'massmessage-sender': { enabled: true },
		'templateeditor': { enabled: true },
		'otrs-member': { enabled: true },
		'patroller': { enabled: true },
		'reviewer': { enabled: true },
		'rollbacker': { enabled: true },
		'global-renamer': { enabled: true },
		'global-rollbacker': { enabled: true },
	}
};

importScript('User:Σ/Testing facility/Archiver.js'); // Backlink: [[User:Σ/Testing facility/Archiver.js]]
importScript('User:Mdaniels5757/RMCloser.js'); // Backlink: [[User:Mdaniels5757/RMCloser.js]]
importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript('User:Ale_jrb/Scripts/csdhelper.js'); // Backlink: [[User:Ale_jrb/Scripts/csdhelper.js]]
importScript('User:Enterprisey/fancy-diffs.js'); // Backlink: [[User:Enterprisey/fancy-diffs.js]]
importScript('User:BrandonXLF/FFUHelper.js'); // Backlink: [[User:BrandonXLF/FFUHelper.js]]
importScript('User:Gary/nominations viewer.js'); // Backlink: [[User:Gary/nominations viewer.js]]
importScript('User:Shubinator/DYKcheck.js'); // Backlink: [[User:Shubinator/DYKcheck.js]]
importScript('User:DannyS712/DYK claim.js'); // Backlink: [[User:DannyS712/DYK claim.js]]
importScript('User:DannyS712/FPC voter.js'); // Backlink: [[User:DannyS712/FPC voter.js]]
importScript('User:Enterprisey/links-in-logs.js'); // Backlink: [[User:Enterprisey/links-in-logs.js]]
importScript('User:Enterprisey/req-helper.js'); // Backlink: [[User:Enterprisey/req-helper.js]]
importScript('User:BrandonXLF/WatchDoc.js'); // Backlink: [[User:BrandonXLF/WatchDoc.js]]
importScript('User:SD0001/UnassessedArticleLinks.js'); // Backlink: [[User:SD0001/UnassessedArticleLinks.js]]
importScript('User:Majavah/Aligner.js'); // Backlink: [[User:Majavah/Aligner.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Mdaniels5757/PurgeTab.js'); // Backlink: [[User:Mdaniels5757/PurgeTab.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Enterprisey/set-js-prefs.js'); // Backlink: [[User:Enterprisey/set-js-prefs.js]]
importScript('User:Mdaniels5757/chromeAutoGarbageCollect.js'); // Backlink: [[User:Mdaniels5757/chromeAutoGarbageCollect.js]]
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' );
//importScript('User:Ed6767/redwarn.js'); // Backlink: [[User:Ed6767/redwarn.js]]
importScript('User:DannyS712/Readonly.js'); // Backlink: [[User:DannyS712/Readonly.js]]
importScript('User:Mdaniels5757/PersonalDashboardLink.js'); // Backlink: [[User:Mdaniels5757/PersonalDashboardLink.js]]
importScript('User:GeneralNotability/spihelper.js'); // Backlink: [[User:GeneralNotability/spihelper.js]]
importScript('User:Enterprisey/disable-save-on-click.js'); // Backlink: [[User:Enterprisey/disable-save-on-click.js]]
importScript('User:Enterprisey/more-listing-items.js'); // Backlink: [[User:Enterprisey/more-listing-items.js]]
importScript('User:Enterprisey/offset-history-link.js'); // Backlink: [[User:Enterprisey/offset-history-link.js]]