On Wed, 17 Jan 2007 13:59:04 -0500, Steve Sanbeg wrote:
On Wed, 17 Jan 2007 17:01:08 +0000, Rob Church wrote:
On 17/01/07, Steve Sanbeg ssanbeg@ask.com wrote:
On a related note, is there a simple way to make these pages disappear when upgrading to 1.9? I think maintenance/nukePage.php does something like this, but would have to be called once per page. A script to nuke the whole namespace may be useful for small wikis that normally have only a few items in the deletion log.
I don't see what's wrong with the existing method, apart from the fact that it floods the deletion log; we could do something about that, I expect.
It's not a big issue, but on small private wikis where deletions aren't common, it should be fairly easy to find deleted pages, so flooding the delete logs and recent changes probably isn't ideal.
It seems simple enough to modify nukePage to delete a namespace, and even skip articles with multiple revisions; which would make for a cleaner upgrade.
I've added a maintenance/nukeNS.php script, which I used to do an upgrade. It deletes entries with one revision, which causes it to miss any that were modified by an upgrade script. So instead of 1500 entries in the delete log, you'd get something like 5.