User blog comment:TOR/MediaWiki Upgrade/@comment-1044263-20120619204529/@comment-3148508-20120629222424

Actually, the jQuery.makeCollapsible is very versatile. Here I quote a few parts of it.

Adding '"mw-collapsed'" as additional class will cause the element to be initially collapsed when the page is loaded.

Using the data-collapsetext and data-expandtext attributes one can define a custom text for the toggle labels added by the script.

If you don't want the script to put the default toggle link (wether or not with a custom label) in your element, you can make one of your own. This could reside anywhere inside or outside the collapsible element. It's relationship to the collapsible element is detected by using the prefix mw-customcollapsible and mw-customtoggle for the collapsible element and the togglelink respectively.

You can a few examples in action on the wikipedia test wiki; http://test.wikipedia.org/wiki/User:Krinkle/CollapsingTestpageMw