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

           Summary: Keep image links alive after move
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


$wgAllowImageMoving=true; has a major disadvantage: All hotlinked images die
after the image is moved.
But I like to encourage people to hotlink images from my wiki like Commons does
with its "use this image on the web" feature.
Therefor I'd like to keep images alive after they're moved.

I see several possible solutions:

1) A global to "don't delete old file and thumbs" = move image page, copy
original file AND thumb files. 
I.e. an old unused 300px thumb should also be there after the move.
Problem: Old files are not seperated. This makes "flushing" the current thumbs
impossible.

2) /wiki/thumb.php should recognize moved file names. On image pages I use
links like thumb.php?w=320&f=Old.jpg as an option to hotlink custom thumb
sizes. If Old.jpg is moved to New.jpg, thumb.php?w=320&f=Old.jpg should still
work.
Problem: Double redirects.

3) A "use this image on the web" feature copies a selected file to a "static"
destination, e.g. a subfolder or a subdomain like static.mywiki.com/images/.
The subdomain variation could use the same hash directory structure.
Problem: Activating the copy action via link on the image page. Javascript?

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to