Last modified: 2009-03-19 21:42:35 UTC
Looking at the paths redirects handle is a mess, especially when it comes to Images. I was trying to figure out exactly why local image redirects wont go to foreign repo'd files when for all intents and purposes they should be able to. The logic is half in Article, half in ImagePage, and half in the FileRepo. This is entirely unnecessary and creates a lot of needless overhead for redirects. I think a dedicated Redirect class is in order. Its only purpose is to redirect Titles to other Titles. Article, ImagePage and FileRepo can all make use of this as need be, but the workflow can be centralized.
Not needed. Just some cleanup to the current implementation in the FileRepo and ImagePage.