MediaWiki:Gadget-OI.js

/** * @Name                    Open Infoboxes.js * @Description             Makes collapsed Infobox sections open by default * @Author                 Eizen  */ $(function {   if ($('.portable-infobox').length === 0) {        return;    }    if ($('.portable-infobox section').hasClass('pi-collapse-closed')) {        $('.portable-infobox section').removeClass('pi-collapse-closed');        return;    } });