Thread:Project:Support desk/Built-in jQuery / Mediawiki version 1.20.2 / need example / Accordion/reply (5)

Found it!

We have to put the following in Mediawiki:Common.js :

mw.loader.load( 'jquery.ui.accordion' ); function my_accordion {  jQuery( "#accordion" ).accordion({ collapsible: true, active: false }); } jQuery( my_accordion);

--- Reference : more here!