Last modified: 2014-05-27 02:10:39 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 T27958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25958 - thumb.php should work with ForeignAPIRepo
thumb.php should work with ForeignAPIRepo
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal minor with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 49670 (view as bug list)
Depends on:
Blocks: 54202
  Show dependency treegraph
 
Reported: 2010-11-16 18:01 UTC by MZMcBride
Modified: 2014-05-27 02:10 UTC (History)
10 users (show)

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


Attachments

Description MZMcBride 2010-11-16 18:01:42 UTC
It would be really nice if thumb.php worked with ForeignAPIRepo.
Comment 1 Derk-Jan Hartman 2010-11-17 00:00:01 UTC
it doesn't  ?
Comment 2 MZMcBride 2010-11-17 01:46:44 UTC
I get the following error using MediaWiki 1.16.0:

Error generating thumbnail
The source file for the specified thumbnail does not exist.
Comment 3 Derk-Jan Hartman 2010-11-19 01:35:20 UTC
I just looked at this. It seems that atm thumb.php only supports the local repository. This is a rather interesting issue. Normally, for foreign repositories, the thumb script will point to the original location of the file, if I understand correctly, for instantcommons, the thumbscript should thus be http://commons.wikimedia.org/w/thumb.php (i'm not sure if it is set at all atm).

Now the issue here is of course that we are locally caching remote thumbnails, so using a "remote" thumb.php is not really useful in this case.

I'm guessing the idea here is that for ForeignAPIrepo, you want to use the local thumb.php script to generate thumbnails on the fly ? That would require some intricate changes to thumb.php.
Comment 4 MZMcBride 2010-11-19 01:44:40 UTC
(In reply to comment #3)
> I'm guessing the idea here is that for ForeignAPIrepo, you want to use the
> local thumb.php script to generate thumbnails on the fly ? That would require
> some intricate changes to thumb.php.

Yes, this.
Comment 5 Sam Reed (reedy) 2013-09-17 02:14:11 UTC
*** Bug 49670 has been marked as a duplicate of this bug. ***

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


Navigation
Links