Naturally, a few days after I argued that our deletion policy should be less rigorous... :-)
Here's what seems to have happened: someone, somehow, managed to upload an image that appeared in the logs with a blank name. There's a part of the script that fills in the title "Main Page" if no title is given for some commands (that's so that, for example, "wiki.phtml" gets you the main page if you don't specify a title). Apparently, that caused the system to think I wanted to delete the main page.
This is probably a bad idea.
I've locked the database and disabled the delete function for now. When I finish restoring the main page from the tarball I made yesterday, I'll unlock the database, but I'll leave delete disabled until I can make it safer.
lcrocker@nupedia.com wrote:
Naturally, a few days after I argued that our deletion policy should be less rigorous... :-)
[oops]
This is probably a bad idea.
I've locked the database and disabled the delete function for now. When I finish restoring the main page from the tarball I made yesterday, I'll unlock the database, but I'll leave delete disabled until I can make it safer.
The obvious answer is to make it impossible to delete a locked page until it has been unlocked by a sysop, which takes a seperate step. That would prevent accidental deletion as well as anything else.
lcrocker@nupedia.com wrote:
I've locked the database and disabled the delete function for now. When I finish restoring the main page from the tarball I made yesterday, I'll unlock the database, but I'll leave delete disabled until I can make it safer.
On that note, note my feature request: [ 591322 ] DB lock should have notice field http://sourceforge.net/tracker/index.php?func=detail&aid=591322&grou...
-- brion vibber (brion @ pobox.com)
On 8/5/02 7:22 PM, "Brion VIBBER" brion@pobox.com wrote:
lcrocker@nupedia.com wrote:
I've locked the database and disabled the delete function for now. When I finish restoring the main page from the tarball I made yesterday, I'll unlock the database, but I'll leave delete disabled until I can make it safer.
It should also not be possible to delete locked pages. The page should be unlocked before deletion--that would be a good safety measure.
Also, deletion should be "soft" in most cases.
Funny bug, there.
wikipedia-l@lists.wikimedia.org