https://bugzilla.wikimedia.org/show_bug.cgi?id=35721
Web browser: ---
Bug #: 35721
Summary: Moving files breaks hotlinks
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Hotlinking from external sites to Commons images is discouraged, but allowed
(https://commons.wikimedia.org/wiki/Commons:REUSE#Hotlinking). Moving a file
whilst creating a redirect unnecessarily breaks such hotlinks, because the
upload.wikimedia.org URLs don't follow the redirect.
Example:
* Uploaded https://commons.wikimedia.org/wiki/File:Example-2.jpg
* Got the hotlink:
https://upload.wikimedia.org/wikipedia/commons/8/8d/Example-2.jpg
* Moved the file, with redirect, to
https://commons.wikimedia.org/wiki/File:Example-of-move.jpg
* Hotlink now gives a 404 page (and not even a particularly helpful one).
I've deleted this test, but the 404 page is exactly the same as for a deleted
image.
--
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