No edit summary
No edit summary
Line 2: Line 2:


to run the maintenance script:
to run the maintenance script:
 
'''
in MediaWiki 1.39.13 or higher :
in MediaWiki 1.39.13 or higher'''


''From the root folder ( where your wiki is installed )''
''From the root folder ( where your wiki is installed )''
Line 9: Line 9:
<syntaxhighlight lang="php">php maintenance/run.php ./extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>
<syntaxhighlight lang="php">php maintenance/run.php ./extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>


in MediaWiki 1.39.12 or lower :
'''in MediaWiki 1.39.12 or lower'''


''From the root folder ( where your wiki is installed )''
''From the root folder ( where your wiki is installed )''


<syntaxhighlight lang="php">php extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>
<syntaxhighlight lang="php">php extensions/FlexForm/maintenance/syncPagesWithForms.php</syntaxhighlight>

Revision as of 10:24, 21 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