AddSectionButton ist eine JavaScript-Erweiterung, die eine Schaltfläche „Abschnitt hinzufügen“ an das Auswahlmenü „Bearbeiten“ anhängt, mit der ein neuer Abschnitt erstellt wird, den der Benutzer bearbeiten kann, ähnlich wie auf Diskussionsseiten.
Installation
Anpassung
Der Text der Schaltfläche kann mit dem folgenden Code angepasst werden:
window.AddSectionButtonText='test';
Ersetze test durch den gewünschten Text. Der angepasste Text muss vor dem Import platziert werden, sonst verwendet die Schaltfläche den Standardtext.
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.