|
From: Arno H. <aho...@in...> - 2000-06-21 23:16:23
|
Steve, I just checked in my latest changes. I implemented the new data structure as described in DBLIB.txt throughout wiki. I replaced several $pagehash["date"] with "lastmodified" and changed its handling from string to time()-stamp. (this includes that there are now two config variables for the dateformat) Also, $pagehash["refs"] is now an array. I've updated wiki_mysql.php3 to the new schema too. I've tested my changes with mySQL and everything seems to work fine. [Actually I just discovered that FullSearch is broken - going to hunt that bug now] If you start from scratch, then the version should work with pgsql & dbm as well. Let me know, if there are any problems. On a side note: I added "__" bold markup, but didn't dare to remove "'''". Your turn. > I was thinking ... there are at least two opportunities in wiki_pgsql.php3 > to write little functions that prepare the data. I've written two such functions for wiki_mysql.php3 They are called MakeDBHash() and MakePageHash(). If you like you can move them to wiki_stdlib.php3 /Arno |