[PATCH] RFC: Allow trac-admin to replace recent version of wiki pages on import
|Reported by:||Owned by:||Remy Blank|
wiki import or
wiki load in trac-admin to import content from files into existing wiki pages, a new version of these pages will be generated if something has changed. If one imports a large amount of wiki pages this way, the timeline will be flooded with events for the wiki page "edits".
The attached patch adds an optional switch which changes the behaviour of
wiki import and
wiki load such that the current version of an existing wiki page is modified in place, to prevent the timeline flood. It has been tested while preparing the migration of trac-hacks.org to Trac 0.11.
Not sure if this is interesting enough to be included in Trac. Comments welcome.