Last modified: 2011-03-13 18:06:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13373 - Add a maintenance script to delete orphaned redirects
Add a maintenance script to delete orphaned redirects
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-14 21:54 UTC by Mike.lifeguard
Modified: 2011-03-13 18:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

This script deletes all orphaned redirects (1.50 KB, text/plain)
2008-03-14 21:57 UTC, Mike.lifeguard

Description Mike.lifeguard 2008-03-14 21:54:59 UTC
It does what it says. I didn't write it, and I forget who did (sorry to whoever it was, but thanks!)
Comment 1 Mike.lifeguard 2008-03-14 21:57:43 UTC
Created attachment 4719 [details]
This script deletes all orphaned redirects
Comment 2 Mike.lifeguard 2008-03-14 22:02:57 UTC
Comment on attachment 4719 [details]
This script deletes all orphaned redirects

By Hojjat (permission pending)
Comment 3 Huji 2008-03-14 22:52:52 UTC
I created that and I'm not sure if it is ready to be added to the trunk. I'll have to review it.
Comment 4 Huji 2008-03-15 21:10:36 UTC
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.
Comment 5 Mike.lifeguard 2008-03-15 22:09:43 UTC
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.
Comment 6 Chad H. 2009-03-12 18:04:19 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.