From: Arno H. <aho...@xm...> - 2001-02-06 08:27:44
|
> We've talked before about storing links in a separate table, which woul= d > make it easy to do a few things: > > list undefined links That's easy (and already possible) -- I've already included it in gowiki,= =20 see http://senseis.xmp.net/?UndefinedPages > rename links I assume you mean rename pages? Yes, that would be made easier. Also, I suggest that we split the wiki table into two: one table as it is= =20 now, but instead of pagename with a pageid. Another table which does=20 pagename->pageid. That way we could have aliases of pagenames, e.g. (yet=20 another simplistic example) "WikiName" and "WikiNames" could both point t= o=20 the same pageid. I have to look at Jeff's db schema again - there was some useful stuff on= =20 how he used a common structure for wiki and archive. > delete links > When a page is deleted we can then delete all references to it as well. Why would I like to do this? Even if I delete pages I'd rather have a=20 dangling link like "Which explains why StevenWainsteadEatsWorms?" then=20 something like "Which explains why !PageRemoved!" > [...] These things are fairly easy, and we have most of the code. Right. /Arno |