John Hampton wrote:
Ilias Lazaridis wrote: > * add a field parent > * make this field editable in the wiki-edit mask (for reparenting) > * provide a tiny function to create the "parent-tree" What happens when you create a wiki page: Level1/level2/level3/PageName Especially if level2 and level3 are actually pages in their own right. How do you recreate the hierarchy then? Do you create dummy page entries for level2 and level3 that have corresponding parents? Is the parent simply the whole path (Level1/level2/level3)?
You would simply create page "Level1". Then Level2 (assigning parent "Level1", or autoassigned, when created from within Level1) Then Level3 (assigning Level2) Then PageName (assigning Level3) If you hit o "PageName", the hierachy is displayed within an navigation bar (e.g. left-sided from wiki-context-nav): Start -> Level1 -> Level2 -> Level3 -> PageName If you edit "PageName" parent field and set it to "Level2", the navigation bar displays Start -> Level1 -> Level2 -> PageName The url displays always: trac.domain.org/wiki/PageName
While I admit that there should be some core functions for allowing the page name and hierarchies to be changed, I don't see how adding a simple "parent" field will actually simplify the situation. Especially when talking about "backwards compatibility". -John
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
