Modify ↓
#12536 closed enhancement (fixed)
Replace trac-wikireplace script with a TracAdmin command
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | WikiReplacePlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
An implementation of IAdminCommandProvider would allow trac-wikireplace to be replaced with a trac-admin command such as wiki replace <page> <old-text> <new-text>.
Attachments (0)
Change History (5)
comment:1 Changed 10 years ago by
| Owner: | changed from Gasler Radu to Ryan J Ollos |
|---|---|
| Status: | new → accepted |
Note: See
TracTickets for help on using
tickets.



Two things:
wiki substituteinstead (orwiki search&replace, or ...?)wiki substitute <page> <old-text> <new-text>, however we want to support specifying more than one page and optional arguments should go at the end of the argument list. It appears a similar situation was encountered with wiki dump (compare to the otherwikicommands in whichpageis the first argument), so following that pattern we'd usewiki substitute <old-text> <new-text> <page> [...].DONE update documentation: WikiReplacePlugin#Installation and README.