Page MenuHomePhabricator

Chealer (Philippe Cloutier)
Disabled

Projects

User does not belong to any projects.

User Details

User Since
Dec 2 2019, 2:42 AM (323 w, 3 d)
Roles
Disabled
LDAP User
Unknown
MediaWiki User
Chealer [ Global Accounts ]

Recent Activity

Jul 9 2025

Chealer added a comment to T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.

@Aklapper: You are the one who started a meta-discussion here; please refrain from getting this ticket further off-track than you already did.
For the last time, thank you for focusing on constructive ways you can contribute to our projects

Jul 9 2025, 12:47 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer added a comment to T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.

@Aklapper: This ticket is not a platform to argue for whatever conception of priorities you have. If you want this ITS to define Priority in a specific way, please argue for that in a specific ticket, ideally upstream.
That being said, I would expect someone who thinks that priority does not matter to prioritize other things than playing with priorities and their definition.
Thank you

Jul 9 2025, 12:40 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer added a comment to T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.
Jul 9 2025, 11:59 AM · Epic, Crosswiki, MediaWiki-Parser-Templates

Jul 8 2025

Chealer updated subscribers of T899: Unclear what the point of tokens in Phabricator is.

Greetings Daniel,

Jul 8 2025, 7:39 PM · Phabricator
Chealer updated the task description for T185664: Code stewardship review: FlaggedRevs.
Jul 8 2025, 5:55 PM · User-notice, FlaggedRevs, Code-Stewardship-Reviews
Chealer changed the subtype of T181987: Thumbnails are broken (False decimal point in srcset when locale is not English) from "Task" to "Bug Report".

The problematic code has moved to includes/Html/Html.php. The function code still looks incorrect, but I must say I am not sure this still affects MediaWiki 1.39.13, given that:

  1. mine seems to work fine even now that I disabled my workaround
  2. there is a lot less activity in this report than it used to.

Thank you for reporting

Jul 8 2025, 5:30 PM · Platform Engineering (Icebox), I18n, MediaWiki-Internationalization
Chealer added a comment to T899: Unclear what the point of tokens in Phabricator is.

Sure. As the maintainer of Wikimedia Phabricator, I do not plan to address this issue.

Jul 8 2025, 4:14 PM · Phabricator
Chealer changed the subtype of T45: Phabricator should suggest possible duplicates when creating a new task from "Task" to "Feature Request".

@Aklapper: This is not a feature, but―like the vast majority of tickets―an issue report, with an implicit (sometimes explicit) request to solve that issue. The corrected title does not imply this issue is a bug any more than "Andre does not do my dishes" is a bug. It merely describes the current situation.
We try to keep reports functional and focused on problems. An even better title would be "ITS (Phabricator) allows creation of too many duplicate tickets". Analyzing which solutions are best is a second step.
Thanks for your understanding

Jul 8 2025, 3:36 PM · Developer-Wishlist (2017), Upstream, Phabricator (Upstream), Wikimedia Phabricator RfC
Chealer added a comment to T899: Unclear what the point of tokens in Phabricator is.

@Chealer: What did you reopen?

Jul 8 2025, 3:01 PM · Phabricator
Chealer renamed T45: Phabricator should suggest possible duplicates when creating a new task from Phabricator should suggest possible duplicates when creating a new task to Phabricator does not warn about (apparent) duplicates when creating a new task.
Jul 8 2025, 2:42 PM · Developer-Wishlist (2017), Upstream, Phabricator (Upstream), Wikimedia Phabricator RfC
Chealer moved T45: Phabricator should suggest possible duplicates when creating a new task from To upstream/missing upstream link to Reported Upstream on the Upstream board.
Jul 8 2025, 2:35 PM · Developer-Wishlist (2017), Upstream, Phabricator (Upstream), Wikimedia Phabricator RfC
Chealer updated the task description for T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.
Jul 8 2025, 2:29 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer added a comment to T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.

I strongly disagree with reducing this ticket’s priority to "Low".

@Chealer: It does not matter. Priority reflects reality. It does not influence planning.

Jul 8 2025, 2:18 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer added a comment to T41610: Transwiki code invocations: Scribunto should support remote module invocations.

Thank you very much @Pppery.🙏 The little public information about @MZMcBride’s ban is available on that MediaWiki discussion page.😓 @Aklapper: Are you saying that "inactive accounts" (as you call them)🙄 cannot even get notified of activity, and hopefully reply through other channels?

Jul 8 2025, 1:33 PM · Scribunto
Chealer renamed T41610: Transwiki code invocations: Scribunto should support remote module invocations from Scribunto should support global module invocations to Transwiki code invocations: Scribunto does not support remote module invocations.
Jul 8 2025, 1:28 PM · Scribunto

Jul 7 2025

Chealer added a comment to T899: Unclear what the point of tokens in Phabricator is.

@Aklapper: Nobody asked about "your"(?) plans. What are you declining?

Jul 7 2025, 9:05 PM · Phabricator
Chealer updated the task description for T899: Unclear what the point of tokens in Phabricator is.
Jul 7 2025, 8:31 PM · Phabricator
Chealer reopened T899: Unclear what the point of tokens in Phabricator is as "Open".
In T899#824497, @Qgil wrote:

Checking https://phabricator.wikimedia.org/token/given/ we can still see that tokens are being used on a daily basis by a variety of users, and in most cases the meaning is easy to interpret. I think we can resolve this task and decline the request to disable tokens.

Jul 7 2025, 8:21 PM · Phabricator
Chealer added a comment to T899: Unclear what the point of tokens in Phabricator is.
In T899#792191, @Qgil wrote:

[…]

So yes, Tokens is an application and it can be technically disabled. However, I don't see a reason to remove it. Tokens are not doing any harm, and they seem to be doing some good.

Then one day code review will arrive here, and chances are that people involved will use them as equivalents of +1, 0, -1, this time as part of a process.

Jul 7 2025, 8:17 PM · Phabricator
Chealer updated the task description for T246901: Support textures / colour in 3D models on Wikimedia projects.
Jul 7 2025, 7:35 PM · Reader Growth Team, Community-Wishlist, Wikimedia-Hackathon-2024, User-John_Cummings, Commons, 3D
Chealer renamed T246901: Support textures / colour in 3D models on Wikimedia projects from Support full colour 3D models on Wikimedia projects to 3D models on Wikimedia projects do not support textures (colour).
Jul 7 2025, 7:07 PM · Reader Growth Team, Community-Wishlist, Wikimedia-Hackathon-2024, User-John_Cummings, Commons, 3D
Chealer renamed T104479: Provide a modern wikitext editor ("2017 wikitext editor") from Provide a modern wikitext editor to Provide a modern wikitext editor, finishing "2017 wikitext editor".
Jul 7 2025, 6:12 PM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, VisualEditor-MediaWiki, Design, Epic
Chealer updated the task description for T153306: 2017 wikitext editor: Unintuitive access to previews and comparisons. Have Show preview and Review your changes more directly accessible.
Jul 7 2025, 4:34 PM · Patch-Needs-Improvement, VisualEditor, Design, VisualEditor-MediaWiki-2017WikitextEditor
Chealer added a comment to T153306: 2017 wikitext editor: Unintuitive access to previews and comparisons. Have Show preview and Review your changes more directly accessible.

Thank you for reporting @Amire80
It has been a long time since I used VisualEditor and I was not aware of the 2017 wikitext editor, so I am poorly qualified to contribute to this ticket, but I nevertheless tried to clarify it. I removed the VisualEditor tag, since although there is a relationship, applying that tag probably just adds confusion.
I encourage you to review the changes I did to the description. In particular, the name of the main button is "Publish changes…" following T189803. Prior to that, it was (just) "Publish changes". I changed your description assuming that this changed from "Save" to "Publish changes" quickly after you reported.

Jul 7 2025, 4:12 PM · Patch-Needs-Improvement, VisualEditor, Design, VisualEditor-MediaWiki-2017WikitextEditor
Chealer added a comment to T90864: "Publish changes" button poorly discoverable for VisualEditor users switching to classic (wikitext) editor.

The "new wikitext editor" which T104479 tracks is now available as an opt-in alternative. It is indeed very similar with the VisualEditor in that regard, however that creates its own issues (discussed in T153306 ).
@Nemo_bis: There are obviously switching costs to using different interfaces, but I am a little surprised by this issue. Placing buttons such as Save/Cancel at the bottom is very common in HTML forms. Was the problem worse for the editor who started with VisualEditor? Can you provide an estimate of how much time was lost finding the button?

Jul 7 2025, 4:10 PM · VisualEditor-MediaWiki, VisualEditor
Chealer renamed T90864: "Publish changes" button poorly discoverable for VisualEditor users switching to classic (wikitext) editor from Help VisualEditor users find the wikitext "Save" button to "Publish changes" button poorly discoverable for VisualEditor users switching to classic (wikitext) editor.
Jul 7 2025, 4:03 PM · VisualEditor-MediaWiki, VisualEditor
Chealer renamed T153306: 2017 wikitext editor: Unintuitive access to previews and comparisons. Have Show preview and Review your changes more directly accessible from Have Show preview and Review your changes more directly accessible in the New Wikitext Editor to 2017 wikitext editor: Unintuitive access to previews and comparisons. Have Show preview and Review your changes more directly accessible.
Jul 7 2025, 3:42 PM · Patch-Needs-Improvement, VisualEditor, Design, VisualEditor-MediaWiki-2017WikitextEditor
Chealer added a comment to T11890: Interwiki transclusions are unreasonably inefficient .

Some of the comments relevant to this issue are actually found in the related T6547, which is very long. They were posted in 2010 and Q1 2011.

Jul 7 2025, 12:31 AM · All-and-every-Wikisource, Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer updated the task description for T11890: Interwiki transclusions are unreasonably inefficient .
Jul 7 2025, 12:25 AM · All-and-every-Wikisource, Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer added a comment to T30673: Merge iwtransclusion branch into phase3.

This was done, but reverted in September 2011: https://static-codereview.wikimedia.org/MediaWiki/95396.html

Jul 7 2025, 12:15 AM · MediaWiki-General
Chealer added a comment to T41610: Transwiki code invocations: Scribunto should support remote module invocations.

@MZMcBride: Could you clarify what you mean by "global modules"?

Jul 7 2025, 12:08 AM · Scribunto
Chealer updated the task description for T41610: Transwiki code invocations: Scribunto should support remote module invocations.
Jul 7 2025, 12:04 AM · Scribunto

Jul 6 2025

Chealer added a comment to T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.

I strongly disagree with reducing this ticket’s priority to "Low". I consider this a very high importance issue, and the cost seems reasonable considering that the MediaWiki change which was meant to solve the performance problem was formerly merged.

Jul 6 2025, 11:54 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer renamed T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported from Support crosswiki template inclusion (transclusion => interwiki templates, etc.) to Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.
Jul 6 2025, 11:45 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer updated the task description for T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.
Jul 6 2025, 11:36 PM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer raised the priority of T11890: Interwiki transclusions are unreasonably inefficient from Low to Medium.

Thank you for this report. This is blocking T6547, which has at least medium priority, so I am increasing this ticket’s priority accordingly.

Jul 6 2025, 10:44 PM · All-and-every-Wikisource, Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer renamed T11890: Interwiki transclusions are unreasonably inefficient from Reasonably efficient interwiki transclusion to Interwiki transclusions are unreasonably inefficient .
Jul 6 2025, 10:42 PM · All-and-every-Wikisource, Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer renamed T3126: Crosswiki templates (Interwiki inclusion) from Interwiki templates to Crosswiki templates (Interwiki inclusion).
Jul 6 2025, 10:22 PM · Crosswiki, MediaWiki-Parser-Templates
Chealer reopened T55567: Support transcluding pages from other wikis in the ProofreadPage extension rather than via a JS gadget as "Open".

Tpt: I do not know what this report is about, but MediaWiki has allowed it for decades. This is not a duplicate of T6547.

Jul 6 2025, 10:02 PM · ProofreadPage
Chealer renamed T31051: No support for versioned transclusions (specific page/template revisions) from Allow transclusion of a specific page or template version to No support for versioned transclusions (specific page/template revisions).
Jul 6 2025, 8:53 PM · OKR-Work, MediaWiki-Parser

Jun 27 2025

Chealer updated the task description for T8575: Table of contents: no general way to exclude certain headers/sections.
Jun 27 2025, 8:37 PM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer updated the task description for T8575: Table of contents: no general way to exclude certain headers/sections.
Jun 27 2025, 7:32 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer added a comment to T8575: Table of contents: no general way to exclude certain headers/sections.

aculver wrote:

!== Non-TOC Section ==

Then you could do things like:
<includeonly>!</includeonly>== Section to not apprear in TOC of including pages ==
<noinclude>!<noinclude>== Sections to only appear in TOC of including pages ==
in your templates

Jun 27 2025, 7:06 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer updated the task description for T8575: Table of contents: no general way to exclude certain headers/sections.
Jun 27 2025, 6:46 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer added a comment to T8575: Table of contents: no general way to exclude certain headers/sections.

@GOIII : I renamed this report back to something closer to its initial title. The initial title was not great, but issue report titles should avoid suggesting specific solutions and stick to describing the problem in functional terms. This makes it easier to find tickets.
Moreover, I am not even sure of the sense of "Conditional use of plain heading element tags use".

Jun 27 2025, 5:39 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer renamed T8575: Table of contents: no general way to exclude certain headers/sections from Conditional use of plain heading element tags use should cause the built in ToC generation to ignore detection and listing of such headings to Table of contents: no general way to exclude certain headers/sections.
Jun 27 2025, 5:35 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser
Chealer updated the task description for T8575: Table of contents: no general way to exclude certain headers/sections.
Jun 27 2025, 4:24 AM · Accessibility, MediaWiki-User-Interface, MediaWiki-Parser

Apr 9 2025

Chealer added a comment to T388318: Color accuracy from generated thumbnails.

I do not know about color spaces so am not able to comment on what librsvg does or should do. But my Windows 11 color picker is showing different values for the PNG and the SVG, so something has to be wrong. Unless Firefox is misdisplaying the SVG, the PNG is inexact.

Apr 9 2025, 3:19 AM · Thumbor, Wikimedia-SVG-rendering, SVG

Apr 8 2025

Chealer added a comment to T388318: Color accuracy from generated thumbnails.

@Glrx: If you're questioning the first number in the 2 cases provided, I certainly did not analyze the PNG file's contents. I must have used a color picker. This still reproduces at least with #1, using Firefox 137's color picker. Both now and back in October, I was testing with Firefox on Windows 11.

Apr 8 2025, 9:52 PM · Thumbor, Wikimedia-SVG-rendering, SVG

Apr 3 2025

Chealer added a comment to T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.).

Many/most use cases of pre-formatted text at the time can now be achieved with the HTML code element. MediaWiki can generate the HTML pre element in a list when writing the tags, as explained in T3581.

Apr 3 2025, 4:18 PM · Parsoid, MediaWiki-Parser
Chealer added a comment to T15642: Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.).

Thank you very much for this report @Purodha. Other tickets tracking the lack of list expressivity are T3115 (formerly ticket 1115 on Bugzilla) and T3584.

Apr 3 2025, 3:57 PM · MediaWiki-Parser
Chealer renamed T15642: Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.) from Add simple "end of sublist" w/o having to start a new list item. to Wikitext lists cannot continue an item after a sublist (Add simple "end of sublist" w/o having to start a new list item.).
Apr 3 2025, 3:43 PM · MediaWiki-Parser
Chealer reopened T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.), a subtask of T11996: Multiline HTML elements in lists parsed to broken HTML, as Open.
Apr 3 2025, 3:26 PM · Parsoid, RemexHtml, Tidy, MediaWiki-Parser
Chealer reopened T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.), a subtask of T3584: Need method for multiparagraph list items, continuing numbered lists, and assigning specific numbers to list items, as Open.
Apr 3 2025, 3:26 PM · MediaWiki-Parser
Chealer reopened T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.), a subtask of T3581: pre over multiple lines in lists, as Open.
Apr 3 2025, 3:26 PM · MediaWiki-Parser
Chealer reopened T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.), a subtask of T11342: Allow one blank line in list environments, as Open.
Apr 3 2025, 3:26 PM · Parsoid, MediaWiki-Parser
Chealer renamed T3115: Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.) from Newline as list item terminator is troublesome to Wikitext lists cannot express multi-paragraph items, nor preformatted text (Newline as list item terminator is troublesome.).
Apr 3 2025, 3:26 PM · Parsoid, MediaWiki-Parser
Chealer reopened T3584: Need method for multiparagraph list items, continuing numbered lists, and assigning specific numbers to list items as "Open".
Apr 3 2025, 3:18 PM · MediaWiki-Parser
Chealer changed the subtype of T11996: Multiline HTML elements in lists parsed to broken HTML from "Feature Request" to "Bug Report".
Apr 3 2025, 2:43 PM · Parsoid, RemexHtml, Tidy, MediaWiki-Parser
Chealer renamed T11996: Multiline HTML elements in lists parsed to broken HTML from Multiline tags in lists should be output more intelligently to Multiline HTML elements in lists parsed to broken HTML.
Apr 3 2025, 2:42 PM · Parsoid, RemexHtml, Tidy, MediaWiki-Parser

Jan 3 2025

Chealer updated the task description for T185664: Code stewardship review: FlaggedRevs.
Jan 3 2025, 5:48 AM · User-notice, FlaggedRevs, Code-Stewardship-Reviews

Dec 4 2024

Chealer updated the task description for T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported.
Dec 4 2024, 5:43 AM · Epic, Crosswiki, MediaWiki-Parser-Templates
Chealer raised the priority of T6547: Cross-Wikimedia inclusion (interwiki templates transclusion, etc.) unsupported from Low to Medium.

I do know how costly a solution would be, but given how high the importance is, the priority is surely at least medium. The only reason reason given (in 2019) for not setting it high was to reflect "actual priority for developers", which didn't seem high since this had stayed outstanding for so many years🙄

Dec 4 2024, 5:35 AM · Epic, Crosswiki, MediaWiki-Parser-Templates

Nov 10 2024

Chealer updated the task description for T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.
Nov 10 2024, 6:00 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Nov 1 2024

Chealer renamed T44090: SVG: Gaussian blur filter effect not rendered correctly for small to medium thumbnail sizes from Filter effect Gaussian blur filter not rendered correctly for small to medium thumbnail sizes to SVG: Gaussian blur filter effect not rendered correctly for small to medium thumbnail sizes.
Nov 1 2024, 2:06 AM · SRE, Upstream, Wikimedia-SVG-rendering
Chealer changed the subtype of T44090: SVG: Gaussian blur filter effect not rendered correctly for small to medium thumbnail sizes from "Task" to "Bug Report".
Nov 1 2024, 2:02 AM · SRE, Upstream, Wikimedia-SVG-rendering

Oct 24 2024

Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

but resvg's loss of Yevhenii Reizner, who had been doing about 9/10 of the work from the beginning, is a serious threat to its future

Funnily enough, when I've started working on resvg around 2017, librsvg was dead/abandoned for more than a decade, which was one of the reasons behind resvg creation.
And like a year later, 2018ish, librsvg authors started a rewrite to Rust, which revitalized the library.

Oct 24 2024, 5:12 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

I went ahead and proceeded to reframe this as a more specific request. I must clarify this does not mean I oppose marking this as a declined request. Or even as a processed request, since if this is an RFC as the title claims, this has already managed to gather its fair share of comments.

Oct 24 2024, 3:36 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer updated the task description for T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.
Oct 24 2024, 2:47 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Oct 23 2024

Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

What are the exact criteria to evaluate against, in order to get this ticket fixed? Currently this sounds unfixable due to vagueness.

Oct 23 2024, 7:15 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

The qps codfw k8s and qps eqiad k8s graphs contain queries per second data for the current primary and secondary datacenter, respectively. Thumbor doesn't unconditionally echo requests from the primary to the secondary datacenter anymore, so the primary datacenter has a higher load. The CPU time for >75% of requests is recorded in the Processing CPU time graphs.
The numbers have all gone slightly up since 2020.

Oct 23 2024, 2:12 AM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

According to Grafana, eqiad and codfw each get an average of 0.8 queries for new SVGs per second, with spikes up to 4 qps. More than 75% of those requests are handled using 575ms of CPU time on average. For context, there are 8.4 requests per second to eqiad and codfw for filetypes handled by imagemagick, including SVGs, which use 2-4s of CPU time.

Oct 23 2024, 12:24 AM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

If you are effectively saying that an SVG rasterizer yields better results on files which contain JavaScript than client-side rendering of the same file via <img>, please highlight that significant concern in T5593.

No, it would be mostly the same. Javascript is disabled in both contexts.

Oct 23 2024, 12:05 AM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Oct 22 2024

Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

there was no robust and up-to-date FLOSS SVG sanitiser that could ensure that the SVGs were safe to display directly in the browser.

DOMPurify exists now and meets that criteria imho. However that is actually besides the point since svg in <img> tags do not execute javascript or external resources so is safe (embedding in an iframe/object is more risky, but probably not any more than the status quo and i dont think that is wanted anyways. The only really risky thing here would be to directly embed the svg tags in the html page, which i dont think anyone is suggesting). […]

Oct 22 2024, 7:15 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

My recollection of why we don't serve user-submitted SVGs directly as thumbnails is that the last time this was looked at there was no robust and up-to-date FLOSS SVG sanitiser that could ensure that the SVGs were safe to display directly in the browser.

XML is notoriously hard to sanitise and there are new tricks invented regularly to bypass sanitisation. Essentially, we don't want to deal with the possibility of a badly intentioned actor being able to inject a tracking URL inside an SVG that would let them collect IP addresses of anyone viewing that image in an article, run some arbitrary javascript, or worse, being able to leverage a browser security flaw in SVG parsing.

Furthermore, we would still need to have fallbacks for browsers that either don't render SVG natively or do a terrible job at it.

Oct 22 2024, 4:40 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Chealer added a comment to T106240: SVG files color cannot be overriden.

Side note about color accuracy

I noticed while sorting all our check mark variants that the color of some PNG conversions are slightly incorrect. The body of the check mark in the SVG has a color different from the body in the PNG, although the difference is hard to notice from naked eye. Cases I noticed:

Oct 22 2024, 12:55 PM · Structured-Data-Backlog, Structured Data Engineering, Wikimedia-SVG-rendering

Oct 21 2024

Chealer renamed T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes) from Incorrect text positioning when rasterizing SVG (multi-valued x/y, dx/dy attributes for text/tspan elements), affecting PNG thumbnails/previews to SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).
Oct 21 2024, 8:06 PM · Thumbor, Wikimedia-SVG-rendering
Chealer added a comment to T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).

I absolutely agree with @JoKalliauer that lowering priority to Lowest was wrong in 2015.

Oct 21 2024, 7:56 PM · Thumbor, Wikimedia-SVG-rendering
Chealer added a comment to T106240: SVG files color cannot be overriden.

Wikimedia now uses a recent enough librsvg, but as @JoKalliauer wrote, this does not solve the problem, it only facilitates one avenue; I rectified the description accordingly.

Oct 21 2024, 7:37 PM · Structured-Data-Backlog, Structured Data Engineering, Wikimedia-SVG-rendering
Chealer added a comment to T106240: SVG files color cannot be overriden.

some recommendations to do user testing with TemplateStyles and CSS filters before investing further (brion, 21:48:11)

The issue with CSS filters is that it is damn hard to add a (specific) color to black icons.

Oct 21 2024, 7:36 PM · Structured-Data-Backlog, Structured Data Engineering, Wikimedia-SVG-rendering
Chealer renamed T106240: SVG files color cannot be overriden from Colorable SVG to SVG files color cannot be overriden.
Oct 21 2024, 7:16 PM · Structured-Data-Backlog, Structured Data Engineering, Wikimedia-SVG-rendering
Chealer updated subscribers of T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).

Yes, you are right @Pppery, I also have that permission. As you say, the interface was just more counterintuitive than I could imagine.
Thank you for the change, for the explanation and for the extra advice

Oct 21 2024, 4:15 AM · Thumbor, Wikimedia-SVG-rendering

Oct 20 2024

Chealer added a comment to T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).

Thanks @Reedy, but the appropriate type adds a visible red label to the report itself and in listings, and allows to find it using advanced search.

Oct 20 2024, 11:02 PM · Thumbor, Wikimedia-SVG-rendering
Chealer added a comment to T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).

@Aklapper: this is in fact a bug report, not a task. Although this comes from a rasterization bug and would naturally be fixed by getting a correct rasterizer, it was most appropriate for @Arthurfragoso and @doctaxon to mention alternative solution a decade after this was reported. Moreover, MediaWiki 1.43 will drop support for Internet Explorer 11 and Wikimedia sites already dropped even basic (grade C) support a few months ago. In any case, srcset allows avoiding rasterization for the vast majority of users.

Oct 20 2024, 10:45 PM · Thumbor, Wikimedia-SVG-rendering
Chealer renamed T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes) from Incorrect text positioning/kerning in SVG rendering (text/tspan x/y, dx/dy attribute; upstream) to Incorrect text positioning when rasterizing SVG (multi-valued x/y, dx/dy attributes for text/tspan elements), affecting PNG thumbnails/previews.
Oct 20 2024, 9:36 PM · Thumbor, Wikimedia-SVG-rendering
Chealer updated the task description for T35245: SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes).
Oct 20 2024, 9:06 PM · Thumbor, Wikimedia-SVG-rendering
Chealer added a comment to T265549: Update librsvg to version > 2.44.10 (2.50.3).

Completion was announced in Tech News: 2024-24.
Thank you very much for processing

Oct 20 2024, 8:33 PM · User-notice-archive, Packaging, Wikimedia-SVG-rendering, Thumbor

Jan 27 2024

Chealer added a comment to T134408: Thumbnail-like rendering of localized SVGs for client-side rendering.

For clarification, multilingual SVG files are discussed in https://gitlab.gnome.org/GNOME/librsvg/-/issues/735

Jan 27 2024, 9:51 PM · Commons, Multimedia, MediaWiki-File-management, Wikimedia-SVG-rendering

Jan 25 2024

Chealer added a comment to T3584: Need method for multiparagraph list items, continuing numbered lists, and assigning specific numbers to list items.

@Nemo_bis: This does not duplicate T3115. T3115 is requesting a wikisyntax semantic change.

Jan 25 2024, 2:55 AM · MediaWiki-Parser

Feb 13 2023

Chealer added a comment to T181987: Thumbnails are broken (False decimal point in srcset when locale is not English).
	static function srcSet( array $urls ) {
		$candidates = [];
		foreach ( $urls as $density => $url ) {
			// Cast density to float to strip 'x', then back to string to serve
			// as array index.
			$density = (string)(float)$density;
			$candidates[$density] = $url;
		}

		// Remove duplicates that are the same as a smaller value
		ksort( $candidates, SORT_NUMERIC );
		$candidates = array_unique( $candidates );

		// Append density info to the url
		foreach ( $candidates as $density => $url ) {
			$candidates[$density] = $url . ' ' . $density . 'x';
		}

		return implode( ", ", $candidates );
	}

Does casting to a float if local is de cause this problem?

Feb 13 2023, 4:24 PM · Platform Engineering (Icebox), I18n, MediaWiki-Internationalization

Dec 2 2019

Chealer renamed T181987: Thumbnails are broken (False decimal point in srcset when locale is not English) from False decimal point in srcset when locale is not English to Thumbnails are broken (False decimal point in srcset when locale is not English).
Dec 2 2019, 2:46 AM · Platform Engineering (Icebox), I18n, MediaWiki-Internationalization