MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(remove Tabs V1 and V2, as all have been migrated to V3)
(load TabbedGallery.js if a relevant element exists)
Line 3: Line 3:
mw.loader.load( '/wiki/index.php?title=MediaWiki:Toggle.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/wiki/index.php?title=MediaWiki:Toggle.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/wiki/index.php?title=MediaWiki:Tabs.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/wiki/index.php?title=MediaWiki:Tabs.js&action=raw&ctype=text/javascript' );
if ( $( '.zdw-tabbed-gallery' ).length ) {
  mw.loader.load( '/wiki/index.php?title=MediaWiki:TabbedGallery.js&action=raw&ctype=text/javascript' );
}


/* add Templates and Sandbox links to the Toolbox */
/* add Templates and Sandbox links to the Toolbox */