Erweiterung:FormWizard

This page is a translated version of the page Extension:FormWizard and the translation is 21% complete.
MediaWiki-Erweiterungen
FormWizard
Freigabestatus: Beta
Einbindung Parser-Funktion , Ajax, API
Beschreibung Creating new pages on MediaWiki wikis
Autor(en) Egbe Eugene and James Hare
Letzte Version 0.0.1 (TBA)
MediaWiki 1.29+
Datenbankänderungen Nein
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
README
Hilfe Help:Extension:FormWizard/de
Quarterly downloads 4 (Ranked 140th)
Übersetze die FormWizard-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

The FormWizard extension allows anyone to create forms on MediaWiki wikis, used to create new pages. It was first developed as a FormWizard gadget but is now available as a MediaWiki extension.

User guide

For an end user guide to FormWizard, see Hilfe:Erweiterung:FormWizard .

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens FormWizard im Ordner extensions/ ablegen.
    Entwickler und Code-Beitragende sollten stattdessen die Erweiterung von Git installieren, mit:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FormWizard
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'FormWizard' );
    
  • Run Composer to install PHP dependencies, by issuing composer update in the extension directory.
  •   Erledigt – Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob die Erweiterung erfolgreich installiert wurde.

Grundlegende Einrichtung

For FormWizard to be able to work properly, you need to configure the parser function on a wiki page like so:

{{#formwizard:action=Start|config=Config.json|mode=subpage|project=TestProject}}

with mode=" ", should generate a button which looks like this:

Start with mode="subpage", should generate a button and a text field like so:

 

In the parser function definition,

  • action is what should be displayed on the button which will be created
  • mode is the mode in which the extension in operating and is used to determine if the user will need to provide a subpage name before the making use of the extension.
  • project is the project where the extension is applied (this will be used to define page content in context of the project.