From: Adam S. <ad...@pe...> - 2001-10-04 18:10:15
|
> Subpages really are just syntactic sugar, and merely provide a > shorthand notation for related pages. Here's, sort of, how I see this > would work: okay after reading through all this on meatball i finally understand the point of this. this would be really useful for some of the stuff that happens on my wiki all the time where people don't want everythign on one page for some reason so they create a billion pages, all with the same prefix. > Within page SuperPage, a link starting with a period, [.SubPage], would > refer to SuperPage.SubPage. I'm still uncertain as to: while starting it with a . makes sense from a tech point of view i'm not sure it's obvious enough to clue in new users that there's something different about that page. / makes it obvious that something's different about it but really confused me because that means "root" in filesystem terms and that really not what it is. what about +? also, do subpages show up in RecentChanges? > 1. Whether there can be sub-sub-pages. i think this is probably asking for trouble. > Subwikis are true partitions of the wiki namespace (with separate > RecentChanges, etc...). Within the page 'SubWiki/PageName', normal > links, like [OtherPage], refer to 'SubWiki/OtherPage'. If you want to > link to a page that's not in your subwiki, you have to start with a > slash ([/TopLevelPage], or [/OtherSubWiki/OtherPage]). i think this is very useful for two things. * having one wiki run multiple different wiki's. this is sort of what twiki does so that by default it ships with a main, knowledge base, twiki ... wiki's by default. * automated plugins which create a lot of pages (maybe calendar, or todo, or addressbook or photogallery etc). however having now played with NiKKi which does this i have to say that it's not nearly as nice as it sounds. it gets really complicated and unituitive until you understand what all the categories are supposed to be used for. > Mostly as an aside, somewhere (UseMod?) I saw a suggestion of using a > Category: InterWiki prefix as a hack for this. Category:Example would > be converted, by the InterWiki linker, to a link to CategoryExample, > but it won't show up as a backlink... this is a great idea! thanks. > Hack lib/editpage.php so that when one edits an non-existant/empty > page, instead of the regular editpage form, one gets a template-choice > form. This would allow one to set the initial contents of the page to > any one of a set of skeletons. The skeletons would taken from pages > matching a particular pattern, like Template*. Eg. TemplateHomePage > would be a skeleton for a home page, ... this is exactly how moinmoin does it and it works pretty well. the only annoying thing is people's tendancy to create really dumb (and far too many) templates. it would be good to have a TemplateDefault as well so you can edit what gets loaded if they don't choose a template (i use this to put a [CategoryUnknown] at the bottom so i can search for things in the unknown category and categorize them). adam. |