Tillägg:CollapsibleSections

This page is a translated version of the page Extension:CollapsibleSections and the translation is 29% complete.
Manual för MediaWikitillägg
OOjs UI icon advanced-invert.svg
CollapsibleSections
Utgivningsstatus: stabil
Beskrivning Allows users to collapse and expand content sections on demand
Författare WikiWorks team
Ansvarig(a) WikiTeq team
Senaste versionen 0.0.1
Kompatibilitetsregler Follows the MediaWiki version lifecycle. Master is not backward compatible.
MediaWiki 1.35+
Licenser MIT-licens
Ladda ner

  • $wgCollapsibleSectionsCollapsedByDefault
  • $wgCollapsibleSectionsEnableDesktop
  • $wgCollapsibleSectionsTag
Översätt tillägget CollapsibleSections om det finns tillgängligt på translatewiki.net

Kontrollera användning och versionsmatris.

The CollapsibleSections extension allows collapsing and expanding content sections as user wants. This extension was created for WikiWorks.

Installation

  • Ladda ner och placera filen/filerna i en katalog som heter CollapsibleSections i din extensions/-mapp.
  • Lägg till följande kod längst ner i dina LocalSettings.php:
    wfLoadExtension( 'CollapsibleSections' );
    
  •   Klart – Ta dig till Special:Version på din wiki för att bekräfta att tillägget har installerats ordentligt.

Konfiguration

Det här tillägget har 3 konfigurationsparametrar:

  • $wgCollapsibleSectionsCollapsedByDefault - enables collapsing of sections. Per default, collapsing is enabled. If you want to disable this option, set value to false
  • $wgCollapsibleSectionsEnableDesktop - enables collapsing of sections on desktop. It is disabled per default, but if you want to enable this, set value to true
  • $wgCollapsibleSectionsTag - used for specifying heading of section which shouldn't be expanded. Per default, only the most important heading (h1) is expanded. If you want to enable expanding of the other headings, you can change default value (h2) to another one (headings from h1 to h6 are supported).

See also

  This extension is professionally maintained by the WikiTeq team.