Page MenuHomePhabricator

Add a maintenance script to delete orphaned redirects
Closed, DeclinedPublic

Description

Author: mike.lifeguard+bugs

Description:
It does what it says. I didn't write it, and I forget who did (sorry to whoever it was, but thanks!)


Version: unspecified
Severity: enhancement

Details

Reference
bz13373

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:02 PM
bzimport set Reference to bz13373.
bzimport added a subscriber: Unknown Object (MLST).

mike.lifeguard+bugs wrote:

This script deletes all orphaned redirects

Attached:

mike.lifeguard+bugs wrote:

Comment on attachment 4719
This script deletes all orphaned redirects

By Hojjat (permission pending)

I created that and I'm not sure if it is ready to be added to the trunk. I'll have to review it.

I forgot to add this:

Meanwhile, please provide a good reason why such a maintenance script would be useful. Beside the special use case you practiced, we need some good justification before adding the script to the trunk.

mike.lifeguard+bugs wrote:

I have no good reason. It was sitting on my desktop, and since I was going to simply delete it, I thought this might be a better use of your work. I don't know how useful it would or would not be for others, so it's up to you guys.

Haven't seen a use case for this yet (and nobody on this bug seems to care very much one way or the other). WONTFIX'ing.