ninetydegrees: Text: let's make better mistakes tomorrow. (mistakes)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dw_dev_training2010-02-23 01:18 pm

QFaN: how thorough are redirects supposed to be?

The case: bug #2398 is about moving editpics to editicons. If I have a look at the patch submitted for a similar bug (bug #2396) it seems simple enough (and something a baby like me managed to actually patch \o/).

The question: should the 'renaming' be more thorough for this bug? In other words, should all references to editpics in other files such as allpics.bml and /site/index.bml be changed and should related files such as editpics.css and editpics.js be 'renamed' too? Or should we trust the redirect to make everything work smoothly and not bother?
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2010-02-23 02:23 pm (UTC)(link)
When renaming something like that, it should include all URLs that link to it. So, menus, links, etc should all be updated.

The CSS and JS files can remain as editpics, although it doesn't hurt anything to rename them if you want.