]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Lots of changes here:
authoruckelman <uckelman@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Tue, 26 Jun 2001 18:01:01 +0000 (18:01 +0000)
committeruckelman <uckelman@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Tue, 26 Jun 2001 18:01:01 +0000 (18:01 +0000)
commit48079d82871f298af6667899cd43220be9024be8
tree29d1b15d692a3d48d589608b4fd12686faf15f0e
parentafe228792dc6ba0f5baabcbd708d8afab3a4cefd
Lots of changes here:
- Added $clobber as argument to InsertPage. If $clobber, then use 'replace '; otherwise use 'insert'i. Pages going into the current store should clobber, but pages going into the archive should not. (Assuming that an unlimited number of pages are kept. I still need to implement archive limiting...)
- Created function ReplaceCurrentPage.
- Moved link updating from InsertPage to ReplaceCurrentPage.
- Renamed SaveCopyToArchive to SavePageToArchive.
- Created function RetrievePageVersions. Returns an arary of page hashes that contains all versions of the specified page.
- Added $version as argument to RetrievePage. It needs to know which version to get. Version 0 (zero)is magic, and always refers to the current version.
- Created function GetMaxVersionNumber. This is used mostly to determine which version to get for the diffs against current pages.
- Created function IsVersionInWiki.
- Created function IsVersionInArchive.
- Created function SelectStore. Given a page name and a version, this function returns the store where that page resides.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@509 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/mysql.php