From: Jeff D. <da...@da...> - 2002-01-11 19:59:37
|
On Fri, 11 Jan 2002 19:33:25 -0000 "Lawrence Akka" <Law...@th...> wrote: > Actually, Jeff, if you delete HomePage, all the Virgin pages are reloaded Aha! Yes, of course. > Clearly this is an undesirable "feature". The Virgin wiki should only be loaded if the > Home page is missing, and its most recent version is 1, or something like that Actually, I think the virgin wiki should probably only be loaded if the page database is empty (no pages). The rest of the time, it should take manual intervention (i.e. load pgsrc via PhpWikiAdministration). Short term problems with this: 1. People who don't run PHP as an apache module currently can't use any of the administrative features, as the current login code (I think) depends on mod_php. (As always: once we move away from HTTP auth base authentification, this will cease to be a problem.) 2. Reini's bug: where the load-up of the version wiki seems to crap out in mid de-virginization. Also, I think we need to introduce some kind of versioning meta-data into the stock pgsrc. When one upgrades to a new release of PhpWiki, in general one does not want to replace most of the pgsrc. On the other hand, sometimes upgrading PhpWiki will break some of the "magic pages" (PhpWikiAdministration, RecentChanges, TitleSearch, etc...) If each page in the distributed pgsrc had a pgsrc_version meta-data, then there could be an option to only update the page if the pgsrc_version is greater than that currently in the database. (The "major" part of pgsrc_version should be incremented when there are functional changes to the page, the "minor" version gets bumped everytime the pgsrc is modified.) |