Extension:CollapsibleSections/ru

From mediawiki.org
This page is a translated version of the page Extension:CollapsibleSections and the translation is 25% complete.
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.
Справка по расширениям 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
Ежеквартальные загрузки 51 (Ranked 100th)
Переведите расширение CollapsibleSections, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

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

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием CollapsibleSections в вашей папке extensions/.
    Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleSections
  • Добавьте следующий код в конце вашего файла LocalSettings.php :
    wfLoadExtension( 'CollapsibleSections' );
    
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

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

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

См. также