To better support mobile use cases and to improve the code's sustainability in general, FormWizard should be rewritten as an extension using the OOUI framework.
At minimum, the FormWizard extension should support the current use cases of FormWizard:
- forms to create new pages based on a template
- forms to add a template to an existing page (the form fields serve as template parameters)
- dynamic form creation based on JSON schema
- your standard HTML form fields, plus Commons image selector. (@Capt_Swing are there any additional form widgets that FormWizard makes available beyond the standard HTML stuff?)
- push button to launch form (embedding a form directly on a page would be a nice-to-have)
The main departure between the current code and the planned extension:
- The forms should be described in JSON, not as JavaScript objects capable of executing arbitrary code
- The forms should be constructed using the OOUI framework. See https://www.mediawiki.org/wiki/OOUI