Last modified: 2014-08-21 20:37:07 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 T43712, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41712 - hewiki asks to change default image sizes for thumb and gallery
hewiki asks to change default image sizes for thumb and gallery
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Dereckson
: shell
Depends on:
Blocks: 49357
  Show dependency treegraph
 
Reported: 2012-11-02 21:10 UTC by kipod
Modified: 2014-08-21 20:37 UTC (History)
6 users (show)

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


Attachments

Description kipod 2012-11-02 21:10:46 UTC
there is a consensus in hewiki "village-pump" page, known as "Miznon" or מזנון.

see here: https://he.wikipedia.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%9E%D7%96%D7%A0%D7%95%D7%9F#.D7.9C.D7.A4.D7.A0.D7.99_.D7.91.D7.A7.D7.A9.D7.94_.D7.91.D7.91.D7.92.D7.96.D7.99.D7.9C.D7.94

there are 8 "support" and no "object" votes, which in hewiki considered to be a consensus. 

the essense of the request is:

"Hewiki asks to change the default display sizes of gallery and thumbnails. Gallery images should be sized, by default, 200x200, and thumbnails defualt width should change from 220 to 250"

Thanks,
Peace.
Comment 1 Dereckson 2012-11-02 22:31:59 UTC
Taking this bug.

See also bug 16739 for similar request.
Comment 2 Dereckson 2012-11-02 23:50:19 UTC
Gerrit change #31580
Comment 3 kipod 2012-11-03 23:50:46 UTC
(In reply to comment #2)
> Gerrit change #31580

this does not seems right - the change talks about 250x250 for gallery size default. the reques is for 200x200 for gallery (the 250 for thumb width is correct).

peace.
Comment 4 Dereckson 2012-11-04 07:14:18 UTC
Oh, thank you to have spotted that.

I fixed the gallery values to 200x200.
Comment 5 Antoine "hashar" Musso (WMF) 2012-11-05 09:44:50 UTC
Cant we use the same value for both default thumb sizes and thumb size in gallery? That will avoid the cluster having to generate a thumb in two size and save a bit of processing power.
Comment 6 kipod 2012-11-05 16:27:21 UTC
(In reply to comment #5)
> Cant we use the same value for both default thumb sizes and thumb size in
> gallery? That will avoid the cluster having to generate a thumb in two size and
> save a bit of processing power.

galleries and thumbs are two different things, and they do not use the same size by default: on a default media wiki installation, default thumb width is 180, while on the mediawiki wikis, the default for thumb is 220. for gallery, the media wiki default is 120x120, and wikimedia wikis do not change it.

so we do not use the same size anywhere, and it's hard to see why we would need to do this on hewiki, just because hewiki asks to use different defaults.

currently, many (most?) of the thumbs and galleries on hewiki define image sizes explicitly, because most editors were not happy with the defaults. adjusting the defaults will allow us to stop doing that, but the effect on the image servers should be nill, b/c either explicit or default, we would not use same size for gallery and thumbs.

peace.
Comment 7 kipod 2012-11-14 19:31:08 UTC
any updates on this request?

was it denied? accepted? is there ETA?

it seems there was one code upgrade since the Gerrit change #31580 was submitted, but the defaults in hewiki seems to be unchanged.


peace.
Comment 8 kipod 2012-11-26 18:56:55 UTC
any updates on this request?

was it denied? accepted? is there ETA?

we are now on 1.21wmf4, but the defaults in hewiki is still unchanged.


peace.
Comment 9 Dereckson 2012-11-26 19:19:03 UTC
Configuration deployment is different than MediaWiki deployment.

We're still in a situation where Hashar has made a comment on your bug, not mitigated by other advices. I sent November 23 a mail to wikitech to gather more opinion and know if we've a way to measure server load impact -> no reply.

Could you tell us your feeling from your side: is this request urgent or could it wait we find a proper time to discuss it more in detail?
Comment 10 Antoine "hashar" Musso (WMF) 2012-11-26 19:53:25 UTC
Wikitech-l thread : http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064631.html


I have sent an email to the ops team to find out if this change can be merged without killing imagescalers / swift (I am maybe too paranoid).
Comment 11 Sumana Harihareswara 2012-12-29 04:15:47 UTC
kipod, as Dereckson asked, is this request urgent?

Antoine, any update from Ops?
Comment 12 Dereckson 2012-12-29 11:52:15 UTC
Question (or statement?) from Tim Starling asked on Gerrit:

I don't understand why different wikis need different thumbnail sizes. It's not like they use different kinds of images.
Comment 13 kipod 2012-12-31 18:54:30 UTC
As to urgency:
This was a consensus of the community on hewiki. personally, i do not feel that strongly about it, but some (majority?) in the community do.

what happens ATM is that practically all[1] thumbnails in hewiki are placed with explicit size of 250px. we would like very much to stop doing that, but the community will not cease unless the default would change.

as to the effect on the image servers: since we hardcode 250px anyway, i do not see what difference does it make.

As to Tim sterling's question: it's not essential that Tim understand the answer "why". i do not understand the answer to this question myself, but the fact is that different communities seem to prefer different "default" thumbnail size. specifically, i think svwiki moved to 250 some years ago, no? all we ask is the same for hewiki, and while you are at it, also change default gallery size to 200x200.

this is not personal - i serve here as an emissary for hewiki community wish, as expressed by the consensus (in the meantime, this was archived: here is a link to the archived discussion: https://he.wikipedia.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%9E%D7%96%D7%A0%D7%95%D7%9F/%D7%90%D7%A8%D7%9B%D7%99%D7%95%D7%9F_302#.D7.9C.D7.A4.D7.A0.D7.99_.D7.91.D7.A7.D7.A9.D7.94_.D7.91.D7.91.D7.92.D7.96.D7.99.D7.9C.D7.94
)

peace.




[1] - not really "all", but i estimate > 90%.
Comment 14 Antoine "hashar" Musso (WMF) 2013-01-29 10:14:16 UTC
Sorry for not having followed up on that issue. Here is a summary I have posted on Gerrit change #31580 which is based off a discussion we had in a restricted mailing list:

It is not reasonable for us to handle different thumbnail sizes per wiki for the following reasons:
- we keep thumbnails forever currently, the more we have the more disk space it takes
- different sizes lower the cache hit rate which in turns cause...
- ... a CPU cost on the cluster to generate a thumbnail, varying the sizes cause more and more thumbnails generations
- whenever a file is updated, we have to purge each thumbnails ever generated

The consensus among the engineering team is to standardize the thumbnails to a few well known formats and have the scaling being done by the web browser.  We could let the mobile clients scale up small thumbnails (to save bandwidth) and desktop scale down larger thumbnails (to get nicer pictures).

So I am sorry to say it, but that changes will not land on the live cluster.
Comment 15 kipod 2013-01-29 18:18:22 UTC
the conclusion from the above should really be a removal of "per user" thumbnail size from preferences: as it is now, where every user can define a different default thumbsize for themselves, any thumbnail where size is not defined explicitly, will cause exactly the effect you cite as the reason to reject hewiki request (multiple thumb sizes maintained on servers).

on the other hand, changing the default for hewiki will have almost no effect: in the vast majority of cases where hewiki is using the same image as some other wiki, we do define size of 250 anyway, so the servers are *forced* to maintain the "250" size of the thumb. making it the hewiki default will allow us to remove the explicit setting of size, but will not cause creation of yet-another-thumb-on-the-server: this thumb is already there due to the explicit setting in hewiki...

oh well....


peace.
Comment 16 Antoine "hashar" Musso (WMF) 2013-02-27 17:57:32 UTC
Related request by frwiki was bug 27839

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


Navigation
Links