On Thursday, January 22, 2015 at 1:14:52 AM UTC-8, Cooke, Mark wrote: > > Folks, > > I am moving our trac to a new server and all new software versions. We > use the [[TOC]] macro but I notice that this can now be replaced by the > built-in [[PageOutline]] macro, so... > > Is there an easy way to global replace `[[TOC]]` with `[[PageOutline]]` > across all wiki pages? > > I have installed the WikiReplacePlugin but so far have not got it to > change anything: how do I specify "all pages" to this plugin and / or can > it replace macros rather than just plain text? > > Many thanks, > > ~ Mark C >
I'll have to refresh my memory on how WikiReplacePlugin works. An alternate approach is to dump all the wiki pages, replace the text using command line tools and re-load the pages. I've never tried to do this, but it seems like it should work. http://trac.edgewall.org/wiki/TracAdmin#FullCommandReference -- 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.