User:Rummskartoffel/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:Amorymeltzer/userinfo.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Amorymeltzer/userinfo.js]]
mw.loader.load( '/w/index.php?title=User:Anomie/nosubmitsummary.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Anomie/nosubmitsummary.js]]
// mw.loader.load( '/w/index.php?title=User:Lupin/recent2.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Lupin/recent2.js]]
mw.loader.load( '/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Zhaofeng Li/Reflinks.js]]
mw.loader.load( '/w/index.php?title=User:Jackmcbarn/advancedtemplatesandbox.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Jackmcbarn/advancedtemplatesandbox.js]]
mw.loader.load( '/w/index.php?title=User:Erutuon/scripts/CodeLinks.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Erutuon/scripts/CodeLinks.js]]
mw.loader.load( '/w/index.php?title=User:The_Earwig/copyvios.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:The Earwig/copyvios.js]]
mw.loader.load( '/w/index.php?title=User:Rummskartoffel/talk_page_usage.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Rummskartoffel/talk page usage.js]]
mw.loader.load( '/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:PerfektesChaos/js/lintHint/r.js]]
window.autoWatchlistExpiry = "1 week";
mw.loader.load( '/w/index.php?title=User:Rummskartoffel/auto-watchlist-expiry.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Rummskartoffel/auto-watchlist-expiry.js]]
mw.loader.load( '/w/index.php?title=User:%CE%A3/Testing_facility/Archiver.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Σ/Testing facility/Archiver]]
mw.loader.load( '/w/index.php?title=User:Rummskartoffel/show_tag_names.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Rummskartoffel/show tag names.js]]
mw.loader.load( '/w/index.php?title=User:Rummskartoffel/share_ExpandTemplates_url.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Rummskartoffel/share ExpandTemplates url.js]]
mw.loader.load( '/w/index.php?title=User:TheresNoTime/linkThings.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:TheresNoTime/linkThings.js]]
mw.loader.load( '/w/index.php?title=User:Anomie/unsignedhelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Anomie/unsignedhelper.js]]

// crathighlighter config
window.all_groups = true;

// re-generate highlighter when CD reloads comments
["convenientDiscussions.commentsReady", "convenientDiscussions.newChanges"]
	.forEach(function(hook) {
		mw.hook(hook).add(function() {
			mw.loader.load( '/w/index.php?title=User:Amorymeltzer/crathighlighter.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Amorymeltzer/crathighlighter.js]]
		});
	});

// fix image display issues caused by Dark Reader
$("div#file img, a.image img").attr("style", "background: white !important;");

// add access key "o" for page information
$("#t-info a").attr("accesskey", "o");

// add access keys "c" and "t" for user pages from Special:Contributions
$('.mw-contributions-user-tools a[href^="/wiki/User:"]').attr("accesskey", "c");
$('.mw-contributions-user-tools a[href^="/wiki/User_talk:"]').attr("accesskey", "t");