
This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
![]() Release status: stable |
|
---|---|
Description | Allows users to collapse and expand content sections on demand |
Author(s) | WikiWorks team |
Maintainer(s) | WikiTeq team |
Latest version | 0.0.1 |
Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
MediaWiki | 1.35+ |
License | MIT License |
Download | Download extension Git [?]: |
Parameters
|
|
Hooks used
|
|
Quarterly downloads | 54 (Ranked 118th) |
Translate the CollapsibleSections extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The CollapsibleSections extension allows collapsing and expanding content sections as user wants. This extension was created for WikiWorks.
Installation
- Download and place the file(s) in a directory called
CollapsibleSections
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'CollapsibleSections' );
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
This extension has 3 configuration parameters:
$wgCollapsibleSectionsCollapsedByDefault
- enables collapsing of sections. Per default, collapsing is enabled. If you want to disable this option, set value tofalse
$wgCollapsibleSectionsEnableDesktop
- enables collapsing of sections on desktop. It is disabled per default, but if you want to enable this, set value totrue
$wgCollapsibleSectionsTag
- (default is `h2`) sets the root section tag to be used for finding collapsible content
See also
- Extension:HideSection
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.