Plugin: SimpleReplace - kynikos/wiki-monkey GitHub Wiki
This plugin performs a global regular expression substitution and is found both in editor pages and in the bot interface.
Interface
- RegExp pattern: a
JavaScript regular expression,
without the opening and closing
/
- i: the ignore case flag
- New string: the string to be substituted to the the matches of the regular expression; capturing groups can be referenced as described in JavaScript's String replace reference
- Summary: used only by the bot, this is the edit summary that will be submitted when saving the modified article
Configuration options and default values
enabled
:true
editor_menu
:["RegExp substitution"]
option_label
:"RegExp substitution"