Extension:ToggleDisplay

Abstract
This extension allows to show and hide regions on a page by clicking on a link.

Installation
Copy the Source into a file extensions/ToggleDisplay/ToggleDisplay.php and add the following line to your LocalSettings.php:

Usage
The simplest usage is:

hidable text

What you will see is a link "[show details]" in small font and nothing else. When you click on the link, the hidable text will be shown and the link text changes to "[hide details]". When you click again, you return to the initial state.

The following optional parameters can be provided in the   tag:

To change the defaults, you can redefine ExtToggleDisplay::$mDefaultArgs in your LocalSettings.php.