(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Before you can use [[DevOps:Doc/FlexForm/2.0/validated-forms]] you will need to run a maintenance script that will search all your pages in the wiki for FlexForms. That list will then show up on FlexForms Special page.


to run the maintenance script:
'''
in MediaWiki 1.39.13 or higher'''
''From the root folder ( where your wiki is installed )''
<syntaxhighlight lang="php">php maintenance/run.php ./extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>
'''in MediaWiki 1.39.12 or lower'''
''From the root folder ( where your wiki is installed )''
<syntaxhighlight lang="php">php extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>
ws-class-props
Line 2: Line 2:
|Subject version=2.5
|Subject version=2.5
|Doc subject=DevOps:Doc/FlexForm
|Doc subject=DevOps:Doc/FlexForm
|Doc synopsis=FlexForm's maintenance script to sync all forms to its database
|Doc parent=
|Doc sort order=1000
|Doc target group=Administrator
}}
}}

Latest revision as of 10:46, 27 August 2025

Before you can use Validated Forms you will need to run a maintenance script that will search all your pages in the wiki for FlexForms. That list will then show up on FlexForms Special page.

to run the maintenance script: in MediaWiki 1.39.13 or higher

From the root folder ( where your wiki is installed )

php maintenance/run.php ./extensions/FlexForm/maintenance/syncPagesWithForms.php

in MediaWiki 1.39.12 or lower

From the root folder ( where your wiki is installed )

php extensions/FlexForm/maintenance/syncPagesWithForms.php