From: Steve W. <sw...@wc...> - 2000-07-15 21:07:40
|
On Sat, 15 Jul 2000, Arno Hollosi wrote: > > > > One wish I have is this: make the wiki_transform generic enough, so > > > that it can be used for savepage as well. > > > This would allow the renaming of pages as well, and all links for that > > page would be changed automatically, e.g. SteveWainsteadEatsWorms to > > SteveWainsteadIsANiceGuy. > > I haven't thought of this one :o) > Wiki pages would still get saved as they are now, only that we save > links in the wikilinks table as well. So, renaming a page would need a > larger function than simply replacing the pagename in the wikilinks table. > Or do you think we should store the intermediate state instead? Yes, this is an idea I had a long time ago. I had a problem at work where we wanted to merge two separate Wikis and there were all sorts of namespace collisions I had to think about. I thought that if all pages links were stored externally, and the pages were stored with tokens, that it would open up some interesting possibilities, among them the renaming of pages and therefore all the links to that page. I had some other ideas about the possibility of this architecture which I hope I wrote down somewhere... if not we'll rediscover them! :-) > Btw, I committed a changed UpdateRecentChanges() which adds a diff > link :o) And I fixed two more magic_quotes_gpc=1 bugs. This time in > wiki_pageinfo and wiki_diff Yes, got it, it will go out in the 1.1.7 release, which I am close to doing. Are you going to make any more commits? sw ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |