From: lrargerich <lra...@fi...> - 2003-01-09 14:14:17
|
Hi all, I analized three feature requests and came up with a tool to address = them last night: The requests were: - Twiki cabability of grouping pages in "wikis" - TOC feature - Using Tiki for annotable software documentation I decided to create the concept of a "Wiki structure". A structure is a = tree where each node (not only leaves) is the name of a wiki page. Nodes have only one parent. Children of a node = are ordered. The root of the tree is used to name the structure. So I added a simple table and created a structure = builder where you can create something=20 like that: Foo documentation 1 Installation 2 Usage 2.1 Using foo for fun 2.2 Using foo for profit 3 Foo final words Numbers are not part of the page names they are automatically generated = by Tiki. Page names can be exsiting page names or new ones. In that case the wiki page will be created. So we have a way to define structures of wiki pages and nothing has been = changed in the wiki code. Now it will be easy to add a TOC feature to the wiki syntax, for example = {toc}, that will render the TOC of the structure rooted at the page being displayed.=20 We can also detect if a wiki page is part of a structure by checking if = it exists in the strcutures table. If a page is part of a structure we can display at the top links to the next and prev = pages allowing an easy sequential navigation of=20 a complete group of pages. We can also add an option to display a small index at the side of the = wiki page if it is part of a structure emulating the PHP online documentation. We will also be able to add an option to mass-change permissions for a = whole structure for example we can define who can edit a particular collection of wiki pages without the need of = setting permissions for each page. We can remove all the pages under a structure etc. Please let me know what do you think of this feature I have all the code = ready and I'd be happy to add it for the 1.6 release and then we can start porting Tiki documentation to a wikified format. Luis |