cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
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

 

QuestionForm edit

Subject Using an extension
Extension DBCachePlugin
Version
Status Answered
Related Topics
Topic revision: r1 - 28 Mar 2018, StefanH - This page was cached on 23 Jun 2018 - 04:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy