Page MenuHomePhabricator

Evaluate feasibility of deprecating (or limiting) user media size preferences
Open, LowPublic

Description

Step 1 is probably to see how many users on wiki have this preference set.

If we are going to actually deprecate the preference, step 2 would be some sort of user notice?

Parsoid Read Views currently does not support customized user media sizes, and neither does VE; there's an argument that editors should see the images at the size that most readers (logged out) will see them at while editing.

If it is not feasible to deprecate this functionality, Parsoid could implement a post processing pass to adjust media sizes, only for those users who have set a custom preference, but it will be relatively expensive.

Event Timeline

cscott renamed this task from Evaluate feasibility of deprecating (or limiting) user size preferences to Evaluate feasibility of deprecating (or limiting) user media size preferences.Oct 1 2024, 3:15 PM
MSantos subscribed.

Moving this to blocked for now as we are pending a decision on the custom thumbnail sizes discussion.

Change #1251196 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[operations/mediawiki-config@master] Limit and standardize thumbnail options

https://gerrit.wikimedia.org/r/1251196

Is there a plan yet for how existing values are migrated, who will do so, and when to do this? (in relation to when this patch would be deployed). Ref T106640#10761152

Is there a plan yet for how existing values are migrated, who will do so, and when to do this? (in relation to when this patch would be deployed). Ref T106640#10761152

Parsoid is using a CSS-based approach for thumbnail preference with three options using same parser cache for all variants. @cscott and I were talking about whether we should apply this to legacy parser to avoid this being conflated with the roll out but Content-Transform-Team haven't made any decisions around if we'll do this and when.

If we wanted to push ahead I think we could use the following rough plan:

Let me know if you think this is missing a step or wouldn't work for some reason and have a counterproposal.