User:Joeytje50/common.js

importScript('User:Joeytje50/shortLink.js');

var JWBdev = false;

if (!JWBdev) { importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: User:Joeytje50/JWB.js/load.js } importScript( 'User:Joeytje50/JWB/feed.js' ); // Backlink: User:Joeytje50/JWB/feed.js

$(function {	$('h2 .mw-headline').before(function { return '#'; }); });

/**** Import dev JWB analogous to ../JWB.js/load.js. Please do not import this version of the JWB script; all finalized features will be added to the main JWB as soon as possible. ****/ if (JWBdev) { $.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function {		mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser");	}); if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script' && mw.config.get('wgAction') == 'view') mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/dev/JWB.js&action=raw&ctype=text/javascript'); }

mw.loader.load( '/w/index.php?title=User:%CE%A3/Testing_facility/Archiver.js&action=raw&ctype=text/javascript' ); // Backlink: User:Σ/Testing facility/Archiver