From: Martin G. <gim...@gi...> - 2002-09-13 19:19:33
|
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? -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |