Last modified: 2013-10-23 18:17:24 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 T36194, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34194 - manualthumb broken?
manualthumb broken?
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/w/api.php?a...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-03 19:55 UTC by Umherirrender
Modified: 2013-10-23 18:17 UTC (History)
2 users (show)

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


Attachments

Description Umherirrender 2012-02-03 19:55:40 UTC
Using the manualthumb feature (thumb= inside a imagelink) looks broken.
(Search for 'manualthumb' in Linker.php)

Broken because:
* The image is linking to the file under thumb=. In my opinion this feature makes no sense with this link, when only the magnify link links to the original file
* It is not possible to set a size for the image. It is always loaded in full size
* nice to have: the thumb= param should ignore a File namespace
* the used image is not registered in the iamgelinks table, makes it hard to find all usages

Keep and fix  or  drop  that feature?
Comment 1 Brion Vibber 2012-02-09 23:15:00 UTC
I see it working this way at least back to 1.16; definitely seems wrong though.
Comment 2 Brion Vibber 2013-03-29 18:27:33 UTC
(In reply to comment #0)
> Using the manualthumb feature (thumb= inside a imagelink) looks broken.
> (Search for 'manualthumb' in Linker.php)
> 
> Broken because:
> * The image is linking to the file under thumb=. In my opinion this feature
> makes no sense with this link, when only the magnify link links to the
> original
> file

This should be fixed now <https://gerrit.wikimedia.org/r/#/c/51075/>

> * It is not possible to set a size for the image. It is always loaded in full
> size

By original design, though....not great. ;)

> * nice to have: the thumb= param should ignore a File namespace
> * the used image is not registered in the iamgelinks table, makes it hard to
> find all usages

Ugh :P

> Keep and fix  or  drop  that feature?

I'd love to kill it, probably most cases can be replaced with either default thumbnailing or use of link= to point at the alternate full-size image.

But no need to kill it immediately.

Provisionally closing this for the main bug.
Comment 3 C. Scott Ananian 2013-03-29 21:43:40 UTC
I suggest opening another bug for "the used image is not registered in the imagelinks table", since I ran into this issue yesterday while trying to find all the uses of thumb= to figure out if the proposed srcset change would break them.

Setting a size for the image is part of the original design; a separate feature request bug might be worthwhile there if you really want to see that done.

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


Navigation
Links