From: Steve W. <sw...@wc...> - 2001-02-06 15:29:18
|
On Tue, 6 Feb 2001, Arno Hollosi wrote: > > rename links > > I assume you mean rename pages? Yes, that would be made easier. Well, in the current implementation we could rename a page (update wiki set pagename='foo' where pagename='bar') but all the links to 'bar' remain, now undefined. Storing the links in a table and not in the pages, so to speak, would solve this problem. > Also, I suggest that we split the wiki table into two: one table as it is > now, but instead of pagename with a pageid. Another table which does > pagename->pageid. That way we could have aliases of pagenames, e.g. (yet > another simplistic example) "WikiName" and "WikiNames" could both point to > the same pageid. OK. I've been meaning to mention we can again make whatever radical schema changes we want... we should start with renaming the tables so they don't cause conflicts (wiki_hotlinks, wiki_archive etc). > > 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 > dangling link like "Which explains why StevenWainsteadEatsWorms?" then > something like "Which explains why !PageRemoved!" Then the page might be redefined... let's say I'm tired about all the emails I get from all over the world asking me about my interesting diet. Just deleting the page leaves "dangling references" all over, so the problem never goes away. But the issue of what do we put in place of the link is a problem. ~swain ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |