My favorite function of wikEd is the "find and replace"-tool.
feature | wikED | new Editor |
---|---|---|
Regexp | implemented | implemented |
find and replace field | always visible (switch on/off via localstorage for all tabs) | not visible, need Ctrl+F for each open tab |
remember old searchstrings and replacementstrings | via local storage, last used string is default for all following tabs | no systematic storage, simple replacement are partly stored via browser autofill? |
replacement only in marked text | support | not supported |
- features I really need/want
- turn on/off visibility of find and replace from for all following tabs (i.e. by usage of local storage)
- remembering search and replace strings (internal as "s/find/replace/flags"), use local storage or indexeddb
- last used strings are default for next tab/article
- if some text is selected, replace only in selected text
- enable "secure" replacements. look at de:user:TMg/autoFormatter.js ( backup/restore nowikis/filenames-functions)
- Diff-function (I use wikEd-Diff and and de:user:TMg/autoFormatter/autoDiff.js as hook for userscripts like de:User:Boshomi/ARreplace.js, autoFromatter, Boshomi/externalURLform.js (shows diff direct after replacement)
- Use case
- Find pages with cirrus search
- open 50 tabs of found pages in edit mode (I use API to generated worklist like de:Benutzer:Boshomi/worklist1, but a "edit-link" like special:whatlinkshere, would do the same)
- perform regexp-replace in all tabs
- watch the diffs
- save page if the diff looks good.
do this as fast as possible, avoid mistakes. (I should be possible within 200 seconds or less then 4 seconds per tab, without additional userscripts. If you fail improve the features!)