From: Jim C. <ji...@in...> - 2004-06-01 21:18:57
|
I might have the wrong idea, but why are there numerous 'assert' calls in the code, in things like function getRevisionBefore($version) in WikiDB.php? If I understand assert correctly, it throws an error if it's function is not true ... ? All that happens in the wiki is an unsightly error message (and no page template, etc) when it's triggered. I think this one is triggered by (near)simultaneous edits, but they seem to work OK when refreshing the page. If asserts are needed, can the user experience be improved somehow? -jim |