https://bugzilla.wikimedia.org/show_bug.cgi?id=17575

           Summary: Migrate redirect logic out of Article/ImagePage/FileRepo
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Redirects
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: innocentkil...@gmail.com


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to