Manual:Extension/Page Forms: Difference between revisions

Redaktion (talk | contribs)
No edit summary
Redaktion (talk | contribs)
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<span style="color: rgb(51, 51, 51)">With</span> '''Page Forms,''' users without administrator rights can use forms to create and edit pages to query data - without programming knowledge.  
'''Page Forms''' allows you to enter parameter values ​​for [[Manual:Templates|templates]] via a form.


<span style="color: rgb(51, 51, 51)">The use of the extension is documented on</span> [[mediawikiwiki:Extension:Page_Forms|documented on MediaWiki]]<span style="color: rgb(51, 51, 51)">.</span>
The use of the extension is [[mediawikiwiki:Extension:Page_Forms|documented extensively on MediaWiki]].


==Main features==
==Main features==
Line 7: Line 7:
*'''Definition pages in the namespace ''Form'''''  <br />The New forms can be created using the special page <code>Special: CreateForm</code>. Here, users select an existing template which provides the paramaters for the form. This means that before a form is created, the required template is always created first. All created form definition pages are saved in the ''Form'' namespace.  Subsequent edits to the form definition page have to be made in source editing mode.
*'''Definition pages in the namespace ''Form'''''  <br />The New forms can be created using the special page <code>Special: CreateForm</code>. Here, users select an existing template which provides the paramaters for the form. This means that before a form is created, the required template is always created first. All created form definition pages are saved in the ''Form'' namespace.  Subsequent edits to the form definition page have to be made in source editing mode.
*'''Application example: info boxes'''<br />Page Forms is often used to add and edit infoboxes on a wiki page. If [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki] is used, the collected data in the templates can be stored and retrieved.
*'''Application example: info boxes'''<br />Page Forms is often used to add and edit infoboxes on a wiki page. If [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki] is used, the collected data in the templates can be stored and retrieved.
*'''Edit existing forms values via menu item''' Existing values in a template can be updated using the menu item "Edit with form" of the page edit button, for example.
*'''Edit existing forms values via menu item''' <br />Existing values in a template can be updated using the menu item "Edit with form" of the page edit button, for example.
*'''Automatic completion of fields'''   Users Users are offered existing values when entering them, depending on the form input type. This reduces problems with naming ambiguities, spelling, etc.
*'''Automatic completion of fields''' <br />Users Users are offered existing values when entering them, depending on the form input type. This reduces problems with naming ambiguities, spelling, etc.
*'''Free text field''' Free text on the page that is not part of the template itself can be displayed in a separate input field called "Free text" for editing directly in forms mode.
*'''Free text field''' <br />Free text on the page that is not part of the template itself can be displayed in a separate input field called "Free text" for editing directly in forms mode.
 
== Getting Started ==
To make creating your first form easier, you can start with the documentation on the following pages:
 
* '''Create a form:''' After you have created a template, you can create the corresponding form using the ''Special:Create Form'' page. This special page supports you in creating the form. However, subsequent editing takes place directly in the form's source code.
* '''Form fields:''' [[mediawikiwiki:Extension:Page_Forms/Input_types|Types of form fields]]
* '''Link the form to the template:''' Since the template exists before the form, it must subsequently be manually linked to the new form
** [[mediawikiwiki:Extension:Page_Forms/Linking_to_forms|within the template]]
** As an additional [[mediawikiwiki:Extension:Page_Forms/The_"edit_with_form"_tab|edit link directly in the page's edit menu]]


==BlueSpice input types==
==BlueSpice input types==

Latest revision as of 13:46, 2 May 2025

Page Forms allows you to enter parameter values ​​for templates via a form.

The use of the extension is documented extensively on MediaWiki.

Main features

  • Definition pages in the namespace Form
    The New forms can be created using the special page Special: CreateForm. Here, users select an existing template which provides the paramaters for the form. This means that before a form is created, the required template is always created first. All created form definition pages are saved in the Form namespace. Subsequent edits to the form definition page have to be made in source editing mode.
  • Application example: info boxes
    Page Forms is often used to add and edit infoboxes on a wiki page. If Semantic MediaWiki is used, the collected data in the templates can be stored and retrieved.
  • Edit existing forms values via menu item
    Existing values in a template can be updated using the menu item "Edit with form" of the page edit button, for example.
  • Automatic completion of fields
    Users Users are offered existing values when entering them, depending on the form input type. This reduces problems with naming ambiguities, spelling, etc.
  • Free text field
    Free text on the page that is not part of the template itself can be displayed in a separate input field called "Free text" for editing directly in forms mode.

Getting Started

To make creating your first form easier, you can start with the documentation on the following pages:

  • Create a form: After you have created a template, you can create the corresponding form using the Special:Create Form page. This special page supports you in creating the form. However, subsequent editing takes place directly in the form's source code.
  • Form fields: Types of form fields
  • Link the form to the template: Since the template exists before the form, it must subsequently be manually linked to the new form

BlueSpice input types

In addition to the default input types, BlueSpice offers the following additional input types:

Input type Result Function
bs-grid  -v4.5 - -
bs-usercombo User name (with link to the profile page) (Single selection).
bs-usertags Comma-separated user name Menu that allows to select existing wiki users

(multiple selections possible).


Note: To link to the profile page, the corresponding parameter in the template needs to be formated accordingly:


{{#arraymap:{{{myParameter|}}}|,|@@@|[[User:@@@|@@@]]}}

bs-mvvisualeditor Formatted text Text box with simplified VisualEditor.

Special pages

Page Forms defines some special pages that are used for data input and data maintenance.

Among others, the following special pages are important for data collection:



Related info





To submit feedback about this documentation, visit our community forum.