Page MenuHomePhabricator

Begoon
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Feb 26 2015, 4:34 PM (322 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Begoon [ Global Accounts ]

Recent Activity

Aug 3 2019

Begoon updated the task description for T229719: User upload list: Make user's configuration persistent; allow selecting a gallery view.
Aug 3 2019, 3:35 AM · MediaWiki-extensions-UploadsLink
Begoon updated the task description for T229719: User upload list: Make user's configuration persistent; allow selecting a gallery view.
Aug 3 2019, 3:31 AM · MediaWiki-extensions-UploadsLink
Begoon updated the task description for T229719: User upload list: Make user's configuration persistent; allow selecting a gallery view.
Aug 3 2019, 3:31 AM · MediaWiki-extensions-UploadsLink
Begoon created T229719: User upload list: Make user's configuration persistent; allow selecting a gallery view.
Aug 3 2019, 3:27 AM · MediaWiki-extensions-UploadsLink

May 11 2019

Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Here's another, current, example of the inconvenience this causes: https://commons.wikimedia.org/w/index.php?title=Commons:Graphic_Lab/Photography_workshop&oldid=349692308#Removal_of_frame. Yes, on this occasion, it turns out the end-user wasn't using the image in an infobox or other non-white background, so a jpeg was ok - but it's not portable should the usage scenario change, and would have required a 'kludge' if the intended usage had been infobox (or other non-white background/template etc.), as is the case with a great number (possibly the majority?) of these oval, historical portraits.

May 11 2019, 2:10 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management

Mar 30 2019

Begoon added a comment to T217087: Error "A non well formed numeric value encountered" (from ImageMap).

This is breaking real content that has worked for years.

https://en.wikipedia.org/w/index.php?title=Template:Indian_states_and_territories_image_map&oldid=889956524

Now renders an image again, and with clickable countries:

Mar 30 2019, 5:20 AM · MW-1.34-notes (1.34.0-wmf.1; 2019-04-16), MW-1.33-notes (1.33.0-wmf.25; 2019-04-09), User-notice, User-Ryasmeen, Editing-team, VisualEditor, PHP 7.2 support, ImageMap, Wikimedia-production-error
Begoon added a comment to T217087: Error "A non well formed numeric value encountered" (from ImageMap).

Agree that floats should be permitted, and any type conversion only done after scaling, to avoid loss of precision. At https://en.wikipedia.org/w/index.php?title=Template:Indian_states_and_territories_image_map&diff=889959581&oldid=889956524 I was forced to convert a whole heap of poly co-ordinates to integer in order to get the template to render at all. Fortunately I could do this by using a perl command on a text file of the wikitext - "perl -i -pe 's/(\d*\.\d*)/int($1+0.5)/ge' filename" otherwise manually rounding hundreds of co-ordinates would have been quite a task. The floats had existed in the code for years without throwing this error, so it certainly was a change in behaviour.

Mar 30 2019, 1:14 AM · MW-1.34-notes (1.34.0-wmf.1; 2019-04-16), MW-1.33-notes (1.33.0-wmf.25; 2019-04-09), User-notice, User-Ryasmeen, Editing-team, VisualEditor, PHP 7.2 support, ImageMap, Wikimedia-production-error

Mar 8 2019

Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Is there any further movement on this (anywhere else we can watch/add input)? Thanks.

Mar 8 2019, 2:41 PM · Thumbor, Multimedia, Commons, MediaWiki-File-management

Feb 7 2019

Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

You say "it seems like a lot of work for such a marginal feature". It's not really a feature though, imo - it's a fix - and I don't believe it is 'marginal' either. We currently generate suboptimal thumbnails for thousands of images because of a very old decision to treat png and jpeg differently, based largely on an assumption that png would be used almost exclusively for diagrams and jpeg for photos. I don't have any statistics, but I do, based on observation, question the validity of that assumption.

Feb 7 2019, 10:58 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Yet many png images on Commons ARE photographs, and WOULD benefit from sharpening of thumbnails. They have historically been uploaded as png because it's lossless, or for transparency - or simply because the original being uploaded was itself png. Which alternative format do you propose, and how will (tens of?) thousands of existing images be converted? And won't this potentially add a whole load of additional "duplicates" and even more confusion?

Feb 7 2019, 6:13 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management

Apr 24 2018

Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Thanks Gilles. You've been very responsive.

Apr 24 2018, 11:17 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

At the risk of being pushy - do you think there's a better place than here to ask: "png thumbnails still look "blurry" in Mediawiki. Can we fix that ?" I hate it when I ask things in the wrong place.

Apr 24 2018, 11:06 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

As for non-WMF MediaWiki deployments, applying sharpening to PNG thumbnails is easily achieved by a one-liner modification to the MediaWiki code. Someone who needs this could go the extra mile and make it based on a config variable and it would get merged into MediaWiki itself. Just like someone recently made JPG quality configurable.

Apr 24 2018, 10:52 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

If the Structured Data on Commons delivers a file-editing UI that allows for the easy addition of a sharpening flag as described above, it becomes a fairly simple project to solve this issue by making this configurable per-file, regardless of extension. But I don't know the timeline of the Structured Data project for the UI component that's a blocker for this. @Tgr can probably provide more information about that.

Apr 24 2018, 10:50 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

FYI, at some point I traced back the decision that led to the current conditional sharpening parameters applied to JPG and the rationale for sorting content between JPG and PNG and it came from the very early days of Commons. The technical discussion about the sharpening parameters where someone showed different settings and people kind of voted for the best was in German, as I believe the German-speaking community was a significant driving force early on Commons. I've lost the link to that stuff, but the point is that it's a 10+ yo community decision.

Apr 24 2018, 10:42 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Well, again, I'm just happy we're discussing it productively. I do lots of image work and this is a genuine issue for end users. Any improvement in the current behaviour would be good. I actually hate my "flag" idea, but there's a deeper "false flag" in the software itself based on file extensions and inherent content assumptions.

Apr 24 2018, 10:05 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

In theory, one could make the case that editors should be able to control whether an image gets sharpened or not, regardless of image type, with a sensible default. However, introducing this ability would have a significant impact on storage and caching capacity (by allowing to multiply thumbnail variants by 2), which has a non-trivial dollar cost.

As an aside, the decent way to do this without inflating storage needs would be to allow control of sharpening per file, not per thumbnail (Structured Data on Commons would provide a nice config interface for this). There is rarely a need to have sharpened and non-sharpened versions of the same image.

Apr 24 2018, 9:18 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

I said "...what about the large number of cases where png is used just to allow a "transparent background"? Jpg doesn't permit this at all, leading to things like this, and this. "Oval" portraits of historical subjects are a strikingly common example of this need, but there are many others, and the ability to display them nicely in infoboxes without needing to choose between "blurring" and a "white box" seems like it would be appreciated imo."

Apr 24 2018, 12:08 AM · Thumbor, Multimedia, Commons, MediaWiki-File-management

Apr 23 2018

Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Yeah, but it's been an issue since forever. I'm just happy to see any movement.

Apr 23 2018, 1:20 PM · Thumbor, Multimedia, Commons, MediaWiki-File-management
Begoon added a comment to T192744: PNG thumbnail looks significantly blurrier than JPG thumbnail.

Commenting as I'm in the original linked discussion. I've looked through the linked Phab discussions and here's where I'm at: current behaviour is crap - there's no way we should have that amount of difference between thumbnail rendering of basically the same image just because it's a png rather than a jpg. Again, having read the linked discussions - ok, sharpening png thumbnails might make them bigger, or less optimal. Best solution I saw? Return a jpg thumbnail.

Apr 23 2018, 12:59 PM · Thumbor, Multimedia, Commons, MediaWiki-File-management

Feb 26 2015

Begoon added a comment to T90632: What's the use of Special:UserProfile.

From the comments and examples linked, this is evidently a very poorly thought out "feature", adding little, and leaving open many avenues of abuse.

Feb 26 2015, 4:45 PM · MobileFrontend-Feature-requests, Readers-Web-Backlog