Last modified: 2013-11-09 16:46:11 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 T44857, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42857 - File moves on foreign repo breaks file inclusion
File moves on foreign repo breaks file inclusion
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.21.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-08 10:48 UTC by Umherirrender
Modified: 2013-11-09 16:46 UTC (History)
2 users (show)

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


Attachments

Description Umherirrender 2012-12-08 10:48:05 UTC
When a file is moved on a foreign repo, than all pages on the client using that file has a broken file inclusion.

The problem is, that the purge of pages using the moved file can only be done for local pages, because mediawiki only knows these pages.

Is there a way to keep the other files working, without purging the client pages?

Redirects should not be deleted to not break file inclusion by clients, but without purge on client side that does not help very well.

Steps to test:
On wiki "core" a page A has [[File:Old.png]]
Than on wiki "repo" the file Old.png is moved to New.png
Looking at page A of "core" gives a break file inclusion, because it is using http://localhost/repo/images/9/9a/Old.png as src
Comment 1 Bawolff (Brian Wolff) 2013-08-23 21:10:40 UTC
As pointed out by Umherirrender, this will be fixed by https://gerrit.wikimedia.org/r/#/c/80135/ if it gets merged.
Comment 2 Umherirrender 2013-11-09 09:29:02 UTC
Gerrit change #80135 was successfully merged
Comment 3 Bawolff (Brian Wolff) 2013-11-09 16:46:11 UTC
That's actually only a partial fix.

*only workd for people like wmf who use thumb_handler.php
*only works for thumbnail urls. If including the full image url, doesn't work.

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


Navigation
Links