From: Joby W. <joby@u.washington.edu> - 2002-09-13 22:18:06
|
It would certainly be possible, but there are complications. The previous version points to the new version so not only would the revision in question be deleted but the version just prior would have to be modified. It would also have to be an easily disabled function. I certainly don't it to be possible in my project... jbw Martin Geisler wrote: > Hi everybody, > > Today I had my first visit by a WikiVandal - he deleted the content on > a page (I'm pretty sure that it's a "he" because he replaced the > content with the sentence "I'm gay" :-) > > Anyway - I've now restored the page. But I couldn't find a way to just > delete the newest revision (the one he had made), and judging from the > comment and code about deleteRevision() in WikiDB.php I'm not > supposed to find such and option... > > Why is this? Wouldn't it be natural for the administrator to be able > to delete a revision of a page (even the current revision) if he > doesn't like the content in that revision? It's much easier than > having to copy the text the old revision to a new revision. > > > Another thing: I wrote about a problem with using 'false' instead of > just false the other day. There's actually several occurrences of this > in lib/config.php. The problem is, that 'false' == true when evaluated > as a boolean whereas false == false. I think it looks suspiciously, > but I might be wrong? > |