Last modified: 2009-03-19 21:42:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19575, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17575 - Migrate redirect logic out of Article/ImagePage/FileRepo
Migrate redirect logic out of Article/ImagePage/FileRepo
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-19 20:40 UTC by Chad H.
Modified: 2009-03-19 21:42 UTC (History)
0 users

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


Attachments

Description Chad H. 2009-02-19 20:40:37 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.
Comment 1 Chad H. 2009-03-19 21:42:35 UTC
Not needed. Just some cleanup to the current implementation in the FileRepo and ImagePage.

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


Navigation
Links