Edgewall Software
Modify

Opened 15 years ago

Last modified 14 years ago

#8735 new enhancement

wiki import should maintain page hierarchy

Reported by: anonymous Owned by:
Priority: normal Milestone: next-major-releases
Component: wiki system Version: none
Severity: normal Keywords: wiki import
Cc: roger@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When importing wiki pages via

trac-admin ENV wiki import

it would be great if the directory structure in the import directory was maintained as the page hierarchy in the wiki. Alternatively, it could be useful if an import directory could be placed in some specific page in the wiki page hierarchy.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 15 years ago

Component: generalwiki system
Milestone: 2.0

Good idea, but it would be better to add that feature to wiki load:

wiki load <path> [...]

    Import wiki pages from files

    If a given path is a file, it is imported as a page with the name of the
    file. If a path is a directory, all files in that directory are imported.

We should probably have the "export" equivalent to wiki load, maybe wiki save.

Also it would help to contribute a patch, in order to make that happen earlier than 2.0 ;-)

comment:2 by Christian Boos, 15 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:3 by Christian Boos, 14 years ago

Milestone: triagingnext-major-0.1X

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.