Extension:AssembleFormLink

The AssembleFormLink extension provides a parser function that allows to build simple helper forms on a page (in display mode). They enquire all necessary data to create a correct and consistent URL when creating a new page through a Semantic Form.

Installation
This extension requires Semantic MediaWiki and Semantic Forms to be installed first.

Instead of downloading the tarball you may also check this extension out via Git:

Example

 * This will link to a new form of type
 * In order to provide a name / label use the category NaturalPerson
 * Ask for the first name through a textfield of size 16, use "First Name" as a placeholder
 * Add a comma and a space (', ')
 * Ask for the last name through a textfield of size 20, use "Last Name" as a placeholder
 * Set the category min-width to 140px. This is to provide a more consistent visual layout if many AssembleFormLinkare used.

Separators
Following separators are currently supported:,  ,   and. It is possible to provide free text as seperator too, but beware of escaping.

If a separator needs to be included more than once, it has to be enumerated:,  , etc.

Forms
Currently only input type text (textfield) is supported.

Additional Options can be supported through. They will be translated into HTML attributes.

Additional Options

 * Sets the category min-width to 140px. This is to provide a more consistent visual layout if many AssembleFormLink are used.
 * If given, the category will be included in the URL. This is useful if namespaces should be created.
 * Overrides the text of the submit button.

Global Options

 * Defines a global default submit button text.