$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:
- 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.
- /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.
- 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?
Version: unspecified
Severity: enhancement