User:Sophiedp/global.js

/* Alert if global.js loads in chat */ if ( wgCanonicalSpecialPageName == 'Chat' ) { alert('Global.js is loaded in chat!'); }

/* Show removed replies */ $(".message-removed.hide").removeClass("hide");

/* Remove "Help" from the account nav menu */ $('#AccountNavigation > li > ul.subnav > li:has(a[data-id="help"])').remove;

/* FastDelete settings */ var fdButtons = []; fdButtons.push({   'summary': 'Housekeeping',    'label': 'HK' });

/* Make the edit sub-menu expand on hover */ selectors = '#WikiHeader nav.wikia-menu-button .drop:hover ~ ul,#WikiHeader nav.wikia-menu-button ul.WikiaMenuElement:hover,#WikiaMainContent nav.wikia-menu-button .drop:hover ~ ul,#WikiaMainContent nav.wikia-menu-button ul.WikiaMenuElement:hover'; var style = '' + selectors + '{min-width:100%;display:block;} '; $(document.head).append(style);

//—————————————————————————————— ! ! ! ———————————————————————————————// /* Place imports below this line. Place everything else above this line. */

/* Imports */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:embercastle:MediaWiki:Sine.js', 'u:embercastle:MediaWiki:ColoredColors.js', 'u:embercastle:MediaWiki:QuickCreateUserPage.js', 'u:dev:MediaWiki:NoImageLightbox/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:Wikimarks/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:Pseudo-Vector.js' ]   }); });