FANDOM


Nuvola apps important
This script is for PERSONAL use only!
You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate FANDOM's Terms of Use.
(See the customization policy)

FindAndReplace is a tool for source editor to make quick replacements in the editing text area.

Installation

Features

  • Make replacements only in the selected text.
  • Undo your edits (all edits, not only replacements).
  • You can choose to make a global search (enabled by default) or not (will only replace the first match).
  • You can choose to make case-sensitive replacements (not enabled by default).
  • You can choose to replace text with regex matches.

Customization

The status of "global matching", "case sensitive" and "enable regular expressions" checkboxes is customizable. If you want them to be customized, follow this instructions:

window.cvGlobalMatching = 'unchecked'; // Global matching, checked by default.
window.cvCaseSensitive  = 'checked';   // Case sensitive, unchecked by default.
window.cvEnableRegex    = 'checked';   // Regular expression, unchecked by default.

Known issues

If you encounter issues, please report them on the talk page.