Extension:CollapsibleSections/ru

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> This extension is professionally maintained by the WikiTeq team.</translate>
<translate> WikiTeq provides official support for [[<tvar name=1>Special:MyLanguage/Version lifecycle</tvar>|MediaWiki LTS releases only]].</translate> <translate> It may work with other MediaWiki releases.</translate>
Справка по расширениям MediaWiki
CollapsibleSections
Статус релиза: стабильно
Описание Allows users to collapse and expand content sections on demand
Автор(ы) WikiWorks team
Поддерживающий(ие) WikiTeq team
Последняя версия 0.0.1
Политика совместимости В расширении есть соответствуюшая ветвь для каждого релиза MediaWiki, который является релизом долгосрочной поддержки (Long Term Support release).
MediaWiki 1.35+
Лицензия MIT License
Скачать

  • $wgCollapsibleSectionsCollapsedByDefault
  • $wgCollapsibleSectionsEnableDesktop
  • $wgCollapsibleSectionsTag
Ежеквартальные загрузки Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Использование общедоступными вики Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Переведите расширение CollapsibleSections, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

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

Установка

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/CollapsibleSections/ru</tvar>|Download]] and move the extracted <tvar name=name>CollapsibleSections/ru</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleSections%2Fru
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CollapsibleSections/ru' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Конфигурация

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 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 - (default is `h2`) sets the root section tag to be used for finding collapsible content

См. также