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');

// wikipedia:User:Js/ajaxPreview.js importScript('User:Ultradude25/ajaxPreview.js'); var ajaxPreviewPos = 'bottom'; var ajaxPreviewScrollTop = 'false';

// importScript('User:Ultradude25/editcounter.js'); var tableStyle = 'text-align: center; margin: 0 auto';

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

// User:Ultradude25/jQuery.makeCollapsibleHotfix.js mw.loader.load('http://www.minecraftwiki.net/index.php?title=User:Ultradude25/jQuery.makeCollapsibleHotfix.js&action=raw&ctype=text/javascript');

// Only run if there is a history table with details to be shown if ($('.history .details')) { $('.history th:first').append(' [Expand Details] ');

function toggleHistDetails { $('.overview').toggle; $('.details').toggle; if ($('.toggleHistDetails a').text == 'Expand Details') { $('.toggleHistDetails a').text('Collapse Details'); } else { $('.toggleHistDetails a').text('Expand Details'); }   } }