User talk:Mike Peel/Archive 63

Latest comment: 3 years ago by Mohammed Sadat (WMDE) in topic Wikidata weekly summary #469
Archive 60Archive 61Archive 62Archive 63Archive 64Archive 65Archive 70

The Signpost: 25 April 2021

Wikidata weekly summary #465

Hi. Thank you for your recent edits. An automated process has detected that when you recently edited RELIKT-1, you added a link pointing to the disambiguation page Molniya. Such links are usually incorrect, since a disambiguation page is merely a list of unrelated topics with similar titles. (Read the FAQ • Join us at the DPL WikiProject.)

It's OK to remove this message. Also, to stop receiving these messages, follow these opt-out instructions. Thanks, DPL bot (talk) 05:59, 27 April 2021 (UTC)

Wikidata weekly summary #466

Wikidata weekly summary #466

ANI notice

  There is currently a discussion at Wikipedia:Administrators' noticeboard/Incidents regarding an issue with which you may have been involved. Thank you. Fram (talk) 13:57, 7 May 2021 (UTC)

Administrators' newsletter – May 2021

News and updates for administrators from the past month (April 2021).

 

  Administrator changes

  EnchanterCarlossuarez46

  Interface administrator changes

  Ragesoss

  Guideline and policy news

  Technical news

  • The user group oversight will be renamed to suppress. This is for technical reasons. You can comment at T112147 if you have objections.

  Arbitration


Wikidata weekly summary #467

This Month in GLAM: April 2021

 




Headlines
Read this edition in fullSingle-page

To assist with preparing the newsletter, please visit the newsroom. Past editions may be viewed here.

Cropping or stretching thumbnails

Would you mind providing a second opinion for phab:T282385? AntiCompositeNumber declined it as not being a bug but a feature. I see no reason not to stretch thumbnails, stretching a few percent is imperceptible to humans but cropping is disrupting in some cases. — Alexis Jazz (talk or ping me) 17:52, 11 May 2021 (UTC)

@Alexis Jazz: I suspect this is something fundamental in the graphics back-end that is used, not a MediaWiki-specific issue. Adding a bit of whitespace probably is the best solution in the example case. Thanks. Mike Peel (talk) 09:31, 12 May 2021 (UTC)
Afaik no. I ran ImageMagick locally and doesn't crop by default. Thumbnails get cropped because (to quote AntiCompositeNumber) "cropping usually produces the best result". Here's a demonstration of the difference which shows pretty clearly that a few percent stretch is imperceptible, but a few percent crop can be quite bad if an image has no padding. Assuming it isn't fundamental back-end beyond our control, would you support stretching instead of cropping for thumbnails? Because the example case is just an example case, thousands of logos on Wikimedia have zero padding. They may look fine to you and to me, but a mobile user or someone with different thumbnail size preference may get served a cropped logo. If we must accept the cropping, we should pretty much get a bot to add padding to a gazillion images to ensure nothing essential ever gets cropped. Adjusting the thumbnailer code/configuration is a more sane solution. — Alexis Jazz (talk or ping me) 15:31, 12 May 2021 (UTC)
@Alexis Jazz: To be honest, I don't feel strongly either way. I think you would get a better response on phabricator if you suggested a specific change. Looking a bit more, AntiCompositeNumber provided a link to the ImageMagick config in MediaWiki, perhaps there's one or two settings there you could suggest are changed, or extra settings added? You may also want to wait for the next version of the wishlist survey and propose it there. Thanks. Mike Peel (talk) 17:41, 12 May 2021 (UTC)
AntiCompositeNumber already said it: there's no way to fit a 235x20 image in a 220x19 box without stretching, cropping, or changing the size of the box, and cropping usually produces the best result. So stretching is an option, but we're stuck with cropping because.. Who knows? I don't know Python, all I know is that -resize 220x works for imagemagick. — Alexis Jazz (talk or ping me) 18:49, 12 May 2021 (UTC)

Wikidata weekly summary #468

Wikidata_list

Mike, I am looking for example templates to be used with {{Wikidata_list}} using "row_template" parameter. I run into this post suggesting that you were experimenting with such templates. Do you have any working examples? Thanks --Jarekt (talk) 16:07, 19 May 2021 (UTC)

@Jarekt: Probably better on Commons, see commons:Template:Wikidata Gallery. Or User:Mike Peel/Cosmic microwave background experiments was sort of working here. Thanks. Mike Peel (talk) 16:56, 19 May 2021 (UTC)
Perfect User:Mike Peel/Cosmic microwave background experiment row was kind of example I was looking for. Thanks--Jarekt (talk) 17:29, 19 May 2021 (UTC)

Wikidata weekly summary #469