On Thursday, November 17, 2016 at 11:12:34 AM UTC-8, K Richard Pixley wrote:
>
> Hi.  I have a wiki full of links, (100's, maybe 1000's), to a server 
> which is about to change domains.  Since they have a highly regular 
> format, I'm looking for something akin to emacs' tags-query-replace to 
> replace them all at once. 
>
> I've been through all the online manuals I can find but I'm not seeing 
> anything like this.  Surely this is a relatively common administrative 
> task?  What have other people done in this situation?  What's the best 
> practice here? 
>
> --rich 
>

I've used the TracAdmin "wiki dump" command to dump the wiki, replace text 
using sed or another tool, and then reload the pages with "wiki load".

See:
https://trac.edgewall.org/ticket/12240#comment:7
https://trac-hacks.org/ticket/10193#comment:103

- Ryan


 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to