From: Steve W. <sw...@wc...> - 2001-02-07 19:53:06
|
On Wed, 7 Feb 2001, Jeff Dairiki wrote: > The move to PHP4: > > Is there really > a pressing reason to drop support for PHP3? For a new development tree, which won't mature for at least six months, I don't see the reason to slow down development by supporting the old 3.0.x. There are a lot of new features in 4.0 we deny ourselves. Sooner or later the rest of the world will catch up. There's always the possibility others will send patches for us; but I want to start using array_walk() and other 4.0 features already. It just makes sense in the long run. > Tables: > As for what markup to use, I have no strong feeling other than that > I think one should avoid raw HTML. (Remind me what's wrong with > the bar ('|') based mark-ups?) HTML == security hole, basically... we'd have to restrict the markup allowed. The bar syntax allows any HTML. > I think the markup should provide > for left-adjust, right-adjusted, and centered columns. Inevitiably people will want to use markup inside tables.. I will say it again and keep saying it until I drive all of you off the project: We are not going to reinvent HTML. It's not fun. > Footnotes: > > If there's a push for keeping the mark-up simple, why footnotes? > Carrying the references around as page meta-data has been a > pain-in-the-database-code. Why not just get rid of it all? It's a small addition, already done, so it's a moot point... > We also need to think about how to deal with the references on > the existing pages. My vote is to make the restore-from-zip-archive > tag some text with the references onto the bottom of the page. This is more of a problem. Your solution sounds fine though. Can existing references be converted to footnotes? > When to Archive: > > If I edit a page that was last edited by myself six months ago, > I would like the old contents of the page to be archived. > > I propose that the edit form should have a checkbox labeled > "This is a minor edit, do not archive". The default state of > the checkbox should depend on the whether the current author matches > the previous author, and also on the time since last edit. > > What do y'all think? I'll add it if you give the go-ahead. This is great! Basically I want to copy UseModWiki's model. http://www.usemod.com/cgi-bin/wiki.pl?UseModWiki Your idea of a checkbox is almost identical to UseMod's approach. > Archiving Multiple Versions: > > This has been talked about forever. Back before I disappeared, > I suggested a database API which handled this. You guys apparently > didn't like it (that's okay). Oh no, I do like that idea. The wiki_pages table and the wiki_archive table should have separate APIs. There's no reason to assume we will always store pages in the archive the same way we store them in the wiki_pages table. > I think this needs to be made a high priority, or it will never get done. It's on the Task List on Sourceforge as of yesterday (feel free to add tasks): <URL:http://sourceforge.net/pm/task.php?group_project_id=7691&group_id=6121&func=browse> > Security: > > On machines where httpd runs as 'nobody' (or similar), admin.php must > be world readable. This allows anyone with an account on the machine > access to the username and password in admin.php (same problem for > the sql password in config.inc). > > Is there a solution? Ack. That is bad. .htaccess? Or add 'nobody' to your group? > PATH_INFO: > > Whatever happened to page names in PATH_INFO? Did that get nixed for > a good reason? Or just because I never did it. It fell off the radar. Ari has code for it, but we never integrated it. You probably recall the NBTSC Wiki code is on Sourceforge in the ftp directory. > If it's okay, I'll try to add it again. Should it be switchable in > the config file? If there are no platform issues, I would rather see it a permanent feature. > On a related note, there's a bug: > > Currently 'index.php?zip=all' will get you to the wiki page named 'zip=all'. > This is probably a bad idea ('zip=all' is an allowable page name, > but it should have to be url-encoded.) > I'll fix this unless you object. nope, hack away! :-) > I think that's it for now. Welcome back! :-) ~swain ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |