User:Majr/hydra.js

// wikipedia:User:Davidgothberg/newmessageshistory.js importScriptURI('//en.wikipedia.org/w/index.php?title=User:Davidgothberg/newmessageshistory.js&action=raw&ctype=text/javascript');

// wikipedia:User:Edokter/MenuTabsToggle.js importScriptURI('//en.wikipedia.org/w/index.php?title=User:Edokter/MenuTabsToggle.js&action=raw&ctype=text/javascript');

if (mw.config.get('wgAction') == 'edit' || mw.config.get('wgAction') == 'submit') { // wikipedia:User:Js/ajaxPreview.js importScript('User:Ultradude25/ajaxPreview.js'); }

if (mw.config.get('wgTitle') == mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') == 2) { // importScript('User:Ultradude25/editcounter.js'); }

// User:Ultradude25/syntaxHighlight.js importScript('User:Ultradude25/syntaxHighlight.js'); importScript('User:Ultradude25/syntaxHighlight/javascript.js'); importScript('User:Ultradude25/syntaxHighlight/css.js');

// Replace ugly links with fancy ones $('a').prop('href', function {   return this.href.replace( /\/index\.php\?title=([\w:/=!\-.]*)&(?!action=(?:un)?watch)([\w:/=]*)/, "/wiki/$1?$2"); });