Jump to content

User:SebastianHelm/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.
// [[user:js/watchlist]]
unwatchLinksOnLoad = true;
if (mw.config.get('wgCanonicalSpecialPageName') == 'Watchlist') 
importScript('user:js/watchlist.js');

//  when you look at a diff you can toggle on an enhanced diff view by clicking on a button that looks like ∆
// Thanks to Fuhghettaboutit [[special:diff/656227500]] `f4c
	// install [[User:Cacycle/wikEdDiff]] enhanced diff
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript');

// see [[User:Dapete/ImageMapEdit]] `g4a·f
if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') {
	mw.loader.load('//tools.wmflabs.org/imagemapedit/ime.js');
}
// User:DannyS712/DiscussionCloser `kav
importScript( 'User:DannyS712/DiscussionCloser.js' );

// editProtectedHelper (User:Jackmcbarn/editProtectedHelper))
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]