Extensión:FormWizard

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:FormWizard and the translation is 15% complete.

Other languages:
English • ‎español • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
FormWizard
Release status: beta
FormWizardStep 1.png
Implementación Parser function , Ajax, API
Descripción Creating new pages on MediaWiki wikis
Autor(es) Egbe Eugene and James Hare
Última versión 0.0.1 (TBA)
MediaWiki 1.29+
Cambios de la base de datos No
Licencia GNU General Public License 2.0 or later
Descarga
README
Translate the FormWizard extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.
Asuntos Tareas abiertas · Reportar un bug

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 Help:Extension:FormWizard.

Instalación

  • Descarga y extrae los archivos en el directorio «FormWizard» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    wfLoadExtension( 'FormWizard' );
    
  • Run Composer to install PHP dependencies, by issuing composer update in the extension directory.
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Basic setup

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:

FormWizard subpage view recent.png

In the parser function definition,

  • action is what should be displayed on the button which will be created
  • config is the name of the JSON configuration page. An example can be found here
  • 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.