Tag: Manual revert |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 48: | Line 48: | ||
If you still want more features, check the documentation on the right. | If you still want more features, check the documentation on the right. | ||
=== How is | === How is FlexForm different from PageForms? === | ||
While '''PageForms''' is built around the traditional concept of editing a single page's template through a dedicated <code>Special:FormEdit</code> screen, '''FlexForm''' approaches MediaWiki as a modern web application platform. Instead of forcing your forms into a rigid, pre-defined wiki syntax, FlexForm uses '''100% native HTML5 standards''' combined with powerful backend data processing. | |||
* | * '''Native HTML5 vs. Custom Wiki Syntax:''' With PageForms, you have to learn a proprietary form-markup language and fight its generated DOM to style it. FlexForm uses standard HTML5 <code><nowiki><form></nowiki></code> and <code><nowiki><input></nowiki></code> elements (<code><nowiki><form></nowiki></code>, <code><nowiki><input></nowiki></code>). If it exists in the HTML5 specification, it works in FlexForm out of the box—giving you total freedom with Bootstrap, Chameleon, custom CSS, and JavaScript. | ||
* PageForms | * '''In-Context UX (No more leaving the page):''' PageForms pulls users out of their workflow to a separate Special Page just to edit data. FlexForm renders '''anywhere on any page'''—and you can place multiple independent forms on a single page. Put forms inside modals/popups, tabs, or accordions so users view and edit information in the exact same place. | ||
* '''Decoupled from Single Templates:''' PageForms is tightly coupled to one page and its templates. FlexForm decouples the UI from the storage layer: show users ''only'' the exact fields they need to see, and let a single form submission update '''multiple templates across multiple different pages''' simultaneously. | |||
* | * '''Multi-Action Workflows in One Submit:''' A single FlexForm submission is an entire workflow engine. In one click, a user can create or edit multiple pages, upload and process multiple files, convert uploaded Word or Excel documents directly into structured wiki pages/JSON, and trigger custom emails or webhooks. | ||
* FlexForm is | * '''Enterprise Security by Design:''' Because anyone can edit wiki pages, raw HTML forms are normally a security risk. FlexForm solves this with a built-in Validated Security Model (cryptographic tokens, strict server-side parameter whitelisting, and XSS protection), ensuring users can only submit what the form author explicitly intended. | ||
* FlexForm can | |||
==== Quick Comparison: PageForms vs. FlexForm ==== | |||
{| class="wikitable" | |||
|'''Feature / Capability''' | |||
|'''PageForms''' | |||
|'''FlexForm''' | |||
|- | |||
|'''Form Syntax''' | |||
|Proprietary MediaWiki form markup | |||
|'''Standard HTML5''' (with wiki-specific extensions) | |||
|- | |||
|'''Where Forms Live''' | |||
|Dedicated <code>Special:FormEdit</code> page (or limited <code>autoedit</code> link) | |||
|'''Anywhere:''' inline on any page, multiple forms per page, modals, or tabs | |||
|- | |||
|'''Scope of a Single Submit''' | |||
|Edits 1 page and its tightly coupled template(s) | |||
|Creates/edits '''multiple pages''', multiple templates, or specific slots at once | |||
|- | |||
|'''Data Formats''' | |||
|Wikitext templates | |||
|Wikitext templates, '''JSON (e.g., JSON Schema)''', and MCR Slots | |||
|- | |||
|'''File Uploads & Processing''' | |||
|Basic single-file upload field | |||
|Multi-file dropzones, '''automatic Word/Excel-to-Wiki conversion''', custom naming | |||
|- | |||
|'''Post-Submit Actions''' | |||
|Saves the page | |||
|Saves page(s), '''sends templated emails''', triggers webhooks/extensions | |||
|- | |||
|'''Styling & UI Freedom''' | |||
|Rigid layout; hard to customize with modern CSS frameworks | |||
|'''100% flexible:''' native support for Bootstrap, Chameleon, and custom JS | |||
|} | |||
=== Links === | |||
[https://www.youtube.com/watch?v=DJQOgKbiXLk What is FlexForm ( Youtube video )] | |||
Latest revision as of 22:01, 12 November 2026
Unlock Infinite Possibilities with FlexForm: Empower Your MediaWiki!
FlexForm, the innovative MediaWiki extension developed for Open CSP, empowers you to unleash the full potential of your wiki. Seamlessly create and customize dynamic forms that cater to your unique requirements, whether it's gathering user feedback, conducting surveys, or efficiently managing data inputs. Say goodbye to rigid templates and welcome a new era of flexibility! With easy customization and seamless integration, FlexForm simplifies form management, enabling you to maximize productivity and engage your community effortlessly. Take charge of your wiki's data like never before and discover endless possibilities with FlexForm.
FlexForm is an enhanced HTML5 Form rendering engine.
It renders HTML5 form elements and allows editing or creating one or more pages with one form.
When you are familiar with creating HTML5 forms you will have no problem using FlexForm.
To get started for the first time, have a look at the getting started documentation.
FlexForm is a complete rewrite from the previous WSForm.
Why FlexForm
Currently there are several MediaWiki extensions that help you create Forms for your website.
What makes FlexForm different from the other extensions, is that it is really flexible. You can create a simple form (or a complex one) on any page and in any namespace.
You do not have to use any special page to setup a form or to render it.
It is also not bound to any kind of styling. This means that a simple form will not look very nice by default, but adding some css styling classes to the form gives you all the freedom in styling the form to any and all your needs. For those who are a bit less stylish, FlexForm will be supporting MediaWiki OOUI styling in the future by means of Themes.
FlexForm has Themes support.
FlexForm is very powerful.
One single form can:
- create a page in the Wiki
- create several pages in the Wiki
- can edit a page in the Wiki
- can edit several pages in the Wiki
- can edit Multi Revision Content slots
- can send an email
- can upload a file
- can upload multiple files
- Convert Word to a Wiki page
- Convert Excel to JSON
- Send a message to a Wiki user or users
Or do a combination of all of the above.
There are also Show on Select options, Multiple instances options and submit a form through Ajax (so the user stays on the page without any reload).
If you still want more features, check the documentation on the right.
How is FlexForm different from PageForms?
While PageForms is built around the traditional concept of editing a single page's template through a dedicated Special:FormEdit screen, FlexForm approaches MediaWiki as a modern web application platform. Instead of forcing your forms into a rigid, pre-defined wiki syntax, FlexForm uses 100% native HTML5 standards combined with powerful backend data processing.
- Native HTML5 vs. Custom Wiki Syntax: With PageForms, you have to learn a proprietary form-markup language and fight its generated DOM to style it. FlexForm uses standard HTML5
<form>and<input>elements (<form>,<input>). If it exists in the HTML5 specification, it works in FlexForm out of the box—giving you total freedom with Bootstrap, Chameleon, custom CSS, and JavaScript. - In-Context UX (No more leaving the page): PageForms pulls users out of their workflow to a separate Special Page just to edit data. FlexForm renders anywhere on any page—and you can place multiple independent forms on a single page. Put forms inside modals/popups, tabs, or accordions so users view and edit information in the exact same place.
- Decoupled from Single Templates: PageForms is tightly coupled to one page and its templates. FlexForm decouples the UI from the storage layer: show users only the exact fields they need to see, and let a single form submission update multiple templates across multiple different pages simultaneously.
- Multi-Action Workflows in One Submit: A single FlexForm submission is an entire workflow engine. In one click, a user can create or edit multiple pages, upload and process multiple files, convert uploaded Word or Excel documents directly into structured wiki pages/JSON, and trigger custom emails or webhooks.
- Enterprise Security by Design: Because anyone can edit wiki pages, raw HTML forms are normally a security risk. FlexForm solves this with a built-in Validated Security Model (cryptographic tokens, strict server-side parameter whitelisting, and XSS protection), ensuring users can only submit what the form author explicitly intended.
Quick Comparison: PageForms vs. FlexForm
| Feature / Capability | PageForms | FlexForm |
| Form Syntax | Proprietary MediaWiki form markup | Standard HTML5 (with wiki-specific extensions) |
| Where Forms Live | Dedicated Special:FormEdit page (or limited autoedit link)
|
Anywhere: inline on any page, multiple forms per page, modals, or tabs |
| Scope of a Single Submit | Edits 1 page and its tightly coupled template(s) | Creates/edits multiple pages, multiple templates, or specific slots at once |
| Data Formats | Wikitext templates | Wikitext templates, JSON (e.g., JSON Schema), and MCR Slots |
| File Uploads & Processing | Basic single-file upload field | Multi-file dropzones, automatic Word/Excel-to-Wiki conversion, custom naming |
| Post-Submit Actions | Saves the page | Saves page(s), sends templated emails, triggers webhooks/extensions |
| Styling & UI Freedom | Rigid layout; hard to customize with modern CSS frameworks | 100% flexible: native support for Bootstrap, Chameleon, and custom JS |