|
From: Steve W. <sw...@wc...> - 2000-06-20 14:52:51
|
On Tue, 20 Jun 2000, Arno Hollosi wrote: > - incorporate pageviewer.php3 into the regular wiki setup (via placeholder) > e.g. at the bottom of the page: (last updated 1 Mar 2000 [more info]) > the "more info" link leads to the pageviewer of that particular page > (placeholder e.g. ###INFOURL###?###PAGEURL###) > (note: pageviewer itself should use the MESSAGE template) Interesting; when I started writing pageviewer.php3 I only wanted a debugging tool for developers... I didn't think about making it available to end users. It should be renamed then to wiki_pagestructure.php3 or something similar for consistency. > > - add the ability to dump the contents of a wiki into files like in /pgsrc > - add the ability to dump from 1.0.x and 1.1.y wikis to 1.1.6 format. > (in both cases the reload could be done by simply putting the result > into /pgsrc and starting over again. In 1.1.6, we may or may not > lose additional information like version number, last modified, ... Yes, was thinking about this last night. The algorithm would be: * in a DBM-based Wiki, call dump.php3. * Choose between saving the page source only (like the files in pgsrc/), or as serialized data structures (preserving all page information). * Dump the pages * Edit wiki_config.php3, switching databases * call load.php3 to load pages; choose whether they are page source or serialized hashes in files * load the database, checking for each file whether it has all 8 attributes (lastmodified, refs, created, version, etc) and add defaults if they are not there * go have coffee and relax > - resolve the LostUpdate-bug when editing a copy of the page where > (version_wiki - version_copy) != 1 ok > - resolve the EditCopy link appearance -- maybe we don't need the > ###IFCOPY### placeholder at all - I don't like that placeholder. ok, this is in TODO > - implement the new db schema in mySQL (only tables wiki & archive). > (my task) Question: (I think I already emailed you on this) what do you think about making the schema for the ARCHIVE table the same as for WIKI? I think this might save us some code writing since InsertPage and RetrievePage can work on both tables. > > 1.1.5 was announced on freshmeat 10 days ago. > I guess it doesn't hurt if 1.1.6 takes some more days. Seems longer ago than that! :-) sw ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |