This question about Using an extension: Answered
Convert SEARCH to DBQUERY
When switching from SEARCH to DBQUERY you might have to convert a lot of topics with searches in them.
To ease the process I wrote a python script which tries to modify these macros accordingly. Right now only query searches are supported.
The script is not feature complete and there are certainly cases which are not handled correctly. So I recommend using it carefully and investigating the results before deactivating the testmode.
Configuration parameters are set and documented directly in the code.
Feel free to modify.
Requirements:
- Python 2.7
- newline patch, see Item14661 (for wiki tables in format string)
Usage:
foswiki.convert.search2dbquery.py <wikifile>
--
Main.StefanH - 28 Mar 2018 - 21:14