plugin:batchedit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:batchedit [2015-06-25 13:36] – update master download link mprins | plugin:batchedit [2024-02-12 13:12] (current) – New release dwp-forge | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== BatchEdit | + | ====== BatchEdit |
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
author | author | ||
- | email : spambox03@mail.ru | + | email : dwpforge@gmail.com |
type : admin | type : admin | ||
- | lastupdate : 2014-05-24 | + | lastupdate : 2024-02-12 |
- | compatible : 2009-02-14, 2012-10-13 "Adora Belle" | + | compatible : Hrun, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : search, replace, regexp, editing | tags : search, replace, regexp, editing | ||
- | screenshot_img: | + | |
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
BatchEdit is an admin plugin that allows you to use regular expressions to search and replace text on DokuWiki pages. As it works with raw DokuWiki text, the plugin can be also used to modify markup of the pages. This can be very helpful when there are multiple pages with similar markup. For example, you can update pages created from a [[: | BatchEdit is an admin plugin that allows you to use regular expressions to search and replace text on DokuWiki pages. As it works with raw DokuWiki text, the plugin can be also used to modify markup of the pages. This can be very helpful when there are multiple pages with similar markup. For example, you can update pages created from a [[: | ||
+ | |||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | * [[https:// | + | * [[https:// |
===== User Interface ===== | ===== User Interface ===== | ||
- | {{ http://img132.imageshack.us/img132/7844/ | + | After installation BatchEdit shows up on the //Administration// page. When started, the plugin displays a form with four primary edit fields: |
- | After installation BatchEdit shows up on the //Administration// page. | + | {{ https://images2.imgbox.com/ |
- | When started, the plugin displays a form with four edit fields: | + | |
- | + | * //Search for// -- depending on selected options this can be plain text string, regular expression, or fully qualified regular expression including | |
- | | + | * //Replace with// -- the replacement |
- | * //Regular expression// --- fully qualified regular expression including | + | * //Edit summary// -- summary of the replacement. This field has the same purpose as the //Edit summary// field of the DokuWiki text editor. |
- | * //Replacement// --- the replacement pattern. For the syntax see [[phpfn>preg_replace]] documentation. | + | |
- | * //Summary// --- summary of the replacement. This field has the same purpose as the //Summary// field of the DokuWiki text editor. | + | |
Below the edit fields there are two buttons: | Below the edit fields there are two buttons: | ||
Line 45: | 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. | ||
Line 54: | 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 ===== | ||
+ | |||
+ | ==== 2024-02-12 ==== | ||
+ | |||
+ | * Fixed compatibility with DokuWiki 2024-02-06 " | ||
+ | |||
+ | ==== 2023-06-16 ==== | ||
+ | |||
+ | * Added support for replacement in multiple namespaces | ||
+ | * Fixed compatibility with DokuWiki Jack Jackrum | ||
+ | |||
+ | ==== 2022-02-20 ==== | ||
+ | |||
+ | * Added option to replace [[https:// | ||
+ | * Added Portuguese localization | ||
+ | * Added Dutch localization | ||
+ | * Fixed Bootstrap conflict with jQuery tooltip | ||
+ | * Minor localization updates | ||
+ | |||
+ | ==== 2021-04-17 ==== | ||
+ | |||
+ | * Fixed PHP 8.0 compatibility issues | ||
+ | * Fixed admin UI layout in Safari browser | ||
+ | * Fixed support of DokuWiki hosted in proxied subfolder | ||
+ | * Updated French translation | ||
+ | * Updated Russian translation | ||
+ | |||
+ | ==== 2020-07-31 ==== | ||
+ | |||
+ | * Fixed compatibility with DokuWiki Hogfather | ||
+ | * Russian translation update | ||
+ | |||
+ | ==== 2019-06-02 ==== | ||
+ | |||
+ | * Added Russian translation | ||
+ | * German translation update | ||
+ | |||
+ | ==== 2018-11-25 ==== | ||
+ | |||
+ | * French translation update | ||
+ | * Minor fixes | ||
+ | |||
+ | ==== 2018-08-18 ==== | ||
+ | |||
+ | * 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 ==== | ||
+ | |||
+ | * Added German language translation | ||
+ | |||
+ | ==== 2017-12-09 ==== | ||
+ | |||
+ | * Added examples for regular expression and replacement pattern fields | ||
+ | * Added French language translation | ||
+ | * Minor style fixes for new DokuWiki default template | ||
+ | |||
+ | ==== 2014-05-24 ==== | ||
+ | |||
+ | * Support common special characters in replacement string | ||
+ | * Minor fixes | ||
==== 2009-02-14 ==== | ==== 2009-02-14 ==== |
plugin/batchedit.1435232166.txt.gz · Last modified: 2015-06-25 13:36 by mprins