MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ // switching to Wikia's new method importArticles({   type: "script",    articles: [        "w:c:dev:ShowHide/code.js",        "w:c:dev:AjaxBatchDelete/code.js",        "w:c:dev:BackToTopButton/code.js",        "w:c:dev:CollapsibleEdittools/code.js",        "w:c:dev:DupImageList/code.js",        "w:c:deadisland:User:Jgjake2/js/DISPLAYTITLE.js"    ] });

/** Extra toolbar options ****************************************************** *  *  Description: Adds extra buttons to the old (non-enhanced) editing toolbar. *  *  Maintainers: User:MarkS, User:Voice of All, User:R. Koot */ mw.loader.using( 'mediawiki.action.edit', function {	var buttons, i, len;	buttons = ;	for ( i = 0, len = buttons.length; i < len; i++ ) {		mw.toolbar.addButton( buttons[i].imageFile, buttons[i].speedTip, buttons[i].tagOpen, buttons[i].tagClose, buttons[i].sampleText, buttons[i].id, buttons[i].id		);	} });