22

Do we ever bulk update URLs? The Java Bug Database URL format appears to have changed from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6754672 to https://bugs.java.com/bugdatabase/view_bug?bug_id=6754672.

- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6754672
+ https://bugs.java.com/bugdatabase/view_bug?bug_id=6754672

The old URLs redirect to the bug search page, not the specific bugs, so they do need to be updated.

A search for "http://bugs.sun.com/bugdatabase" gives 474 results, so that's how many questions/answers that need to be updated in order to work properly.

Additionally, there appears to be an even older URL format in use: http://bugs.sun.com/view_bug.do?bug_id=6754672, that gives 147 search results.

- http://bugs.sun.com/view_bug.do?bug_id=6754672
+ https://bugs.java.com/bugdatabase/view_bug?bug_id=6754672

Is there a way to do a bulk update in a case like this, and should we?

6

1 Answer 1

6

A comment on this question by user Abdul Aziz Barkat links to a Meta Stack Exchange post (How to find and/or change a set of hyperlinks on a site?) explaining that an internal tool does exist to bulk rewrite links:

There exists, internally, a search-and-replace tool for rewriting links. It's very simple; if someone changes their entire URL scheme, it's not much help. But for stuff like this, where we can simply cut out one consistent part of each URL and drop in another... It works pretty well.

If you need this - and I'd consider anything over 100 links a need - post a feature-request on the appropriate site meta and we'll try & get it done.

Since there are over 400 results with Java Bug Database URLs, that meets the stated threshold for whether there's a need.

As of 9 hours after asking this Stack Overflow Meta question, there are currently 16 upvotes and no downvotes. It's apparent that there's therefore community consensus that this bulk change should be done.

I've created a feature request to bulk update these URLs: Feature request: Rewrite Java Bug Database links.

Update: the bulk update was performed on 11/10/2023.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .