AddSectionButton - скрипт, который добавляет кнопку "Добавить раздел" в выпадающем меню под кнопкой "Править", которая создаёт новый раздел в статье. Действие этой кнопки очень похоже на действие кнопки "Добавить тему" на страницах обсуждения.
Installation
Настройка
Текст кнопки может быть изменён при помощи следующего кода:
window.AddSectionButtonText='test';
Замените test на нужный вам текст. Код, изменяющий текст, должен располагаться перед импортом, иначе кнопка будет показывать текст по умолчанию.
Using configuration options with Fandom Developers Wiki scripts
The instructions on this page describe how to use configuration options with a script. Here on the Fandom Developers Wiki, many scripts provide optional configuration settings as a mean to alter or enhance the default behavior of the script. When installing configuration options in your JavaScript file, please note that they need to go above the import statement in order to work — unless the directions say otherwise. In case MediaWiki:ImportJS is used to load the scripts, it will be executed last.