plugin:batchedit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
plugin:batchedit [2018-08-15 09:54] – [Bugs and Feature Requests] Samana Johann | plugin:batchedit [2018-08-18 17:22] – New release pan One | ||
---|---|---|---|
Line 4: | Line 4: | ||
description: | description: | ||
author | author | ||
- | email : spambox03@mail.ru | + | email : dwpforge@gmail.com |
type : admin | type : admin | ||
- | lastupdate : 2018-02-11 | + | lastupdate : 2018-08-18 |
- | compatible : 2012-10-13, | + | compatible : "Adora Belle", |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : search, replace, regexp, editing | tags : search, replace, regexp, editing | ||
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
- | screenshot_img: | + | screenshot_img: |
---- | ---- | ||
Line 27: | Line 27: | ||
Search and install the plugin using the [[plugin: | Search and install the plugin using the [[plugin: | ||
- | * [[https:// | + | * [[https:// |
- | ===== User Interface ===== | ||
- | {{ http:// | + | ===== User Interface ===== |
- | After installation BatchEdit shows up on the // | + | After installation BatchEdit shows up on the // |
- | When started, the plugin displays a form with four edit fields: | + | {{ https:// |
- | * // | + | * // |
- | * //Regular expression// --- fully qualified regular expression including | + | * //Search for// -- depending on selected options this can be plain text string, regular expression, or fully qualified regular expression including |
- | * //Replacement// --- the replacement pattern. For the syntax see [[http:// | + | * //Replace with// -- the replacement |
- | * //Summary// --- summary of the replacement. This field has the same purpose as the //Summary// field of the DokuWiki text editor. | + | * //Edit summary// -- summary of the replacement. This field has the same purpose as the //Edit summary// field of the DokuWiki text editor. |
Below the edit fields there are two buttons: | Below the edit fields there are two buttons: | ||
Line 47: | Line 46: | ||
* //Apply// -- replaces selected (see below) matches. If there are no selected matches it acts identical to the //Preview// button. | * //Apply// -- replaces selected (see below) matches. If there are no selected matches it acts identical to the //Preview// button. | ||
- | BatchEdit displays | + | {{ https:// |
+ | |||
+ | BatchEdit displays search | ||
After the replacement, | After the replacement, | ||
+ | |||
+ | |||
+ | ==== Configuration ==== | ||
+ | |||
+ | BatchEdit uses two types of configuration options: | ||
+ | * User-specific options -- all options available on BatchEdit page are individual for each user. These options are stored in a browser cookie, so strictly speaking they are browser-specific. | ||
+ | * Global options -- can be modified on DokuWiki configuration page. They control aspects of BatchEdit operation, which are rarely (if ever) to be changed. | ||
+ | |||
===== Technical details ===== | ===== Technical details ===== | ||
Line 55: | Line 64: | ||
==== Performance ==== | ==== Performance ==== | ||
- | BatchEdit | + | BatchEdit |
- | ==== Page locking | + | ==== Concurrent page edits ==== |
- | While BatchEdit locks pages during replacement, there is still a small possibility for the data corruption. The replacement is performed in two stages: | + | Because of two-staged approach of Preview& |
- | - BatchEdit searches for the regular expression matches in all the pages. For every match the plugin records character | + | |
- | - On the second stage BatchEdit compares | + | |
- | If the page is modified between these two stages, BatchEdit | + | This verification still leaves a possibility that replacement |
==== Page lookup ==== | ==== Page lookup ==== | ||
- | BatchEdit uses DokuWiki page index to get the list of existing pages instead of going through the data directories. | + | BatchEdit uses DokuWiki page index to get the list of existing pages instead of going through the data directories. |
+ | |||
+ | This limitation | ||
===== Version History ===== | ===== Version History ===== | ||
+ | |||
+ | ==== 2018-08-?? ==== | ||
+ | |||
+ | * Major UI update | ||
+ | * Added global and per page check boxes to mark multiple matches | ||
+ | * Added various configuration options | ||
+ | * Added progress bar for long operations | ||
+ | * Performance optimizations for massive edits | ||
+ | * Added Chinese(Simplified) translation | ||
==== 2018-02-11 ==== | ==== 2018-02-11 ==== | ||
Line 105: | Line 123: | ||
Please report bugs or feature requests at the [[https:// | Please report bugs or feature requests at the [[https:// | ||
- | |||
- | >Pardon, since having no access there but guesses one likes to be informed: a " and &, put into the fields would " | ||
plugin/batchedit.txt · Last modified: 2024-02-12 13:12 by dwp-forge