Page MenuHomePhabricator

cscott (C. Scott Ananian)
Parser whisperer

Projects (25)

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

User Since
Oct 21 2014, 6:47 PM (605 w, 4 d)
Availability
Available
IRC Nick
cscott
LDAP User
C. Scott Ananian
MediaWiki User
Cscott [ Global Accounts ]

Editor since 2005; WMF developer since 2013. I work on Parsoid and OCG, and dabble with VE, real-time collaboration, and OOjs.

On github: https://github.com/cscott

See https://en.wikipedia.org/wiki/User:cscott for more.

Recent Activity

Yesterday

cscott added a comment to T427066: Media dialog in VisualEditor uses invalid imageinfo API parameter.

This caused a regression in Parsoid; two different patches above to resolve it.

Sat, May 30, 1:22 AM · Patch-For-Review, MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), VisualEditor, Editing-team, VisualEditor-Media
cscott reopened T427066: Media dialog in VisualEditor uses invalid imageinfo API parameter as "Open".
Sat, May 30, 1:22 AM · Patch-For-Review, MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), VisualEditor, Editing-team, VisualEditor-Media

Fri, May 29

cscott added a comment to T426249: iOS Safari unable to load a Village Pump page when clicking on link to a sub-thread.

Ok, this makes more sense that a JS interaction would cause memory exhaustion (vs just a particular magic sequence of HTML).

Fri, May 29, 5:29 PM · JavaScript, MinervaNeue, Parsoid, Browser-Support-Apple-Safari

Thu, May 28

cscott created T427567: Variant link conversion doesn't work on red links to media in Parsoid.
Thu, May 28, 9:25 PM · Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Parsoid
cscott added a comment to T427465: Move thumbnail caching from upload cluster to text.

There's the potential to break various parser tests that hardcode a file URL. I don't think this will be a big concern in practice, but something to look out for.

Thu, May 28, 4:07 PM · Data-Persistence, Traffic
cscott added a comment to T426746: TOC not rendered when heading tags are generated in module/template.

It appears at the moment for these "html heading" tags we are wrapping them but not including them in the TOC, whereas we want to *not* wrap them but *include* them in the TOC.

Thu, May 28, 3:36 PM · Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias)
cscott added a comment to T359221: Parsoid's TOC handling needs to deal with HTML-returning components (exts, SPTs, parser funcs returning HTML) consistently.

A quick test seems to indicate that both Parsoid and the legacy parser use the .textContent of the HTML included in the heading to generate the TOC text (and presumably ID): https://en.wikipedia.org/w/index.php?title=User_talk:Cscott/Toc&oldid=1356567473

Thu, May 28, 3:34 PM · OKR-Work, Parsoid-Read-Views (Small Size Wikipedias), Content-Transform-Team (Work In Progress), Parsoid
cscott added a comment to T426249: iOS Safari unable to load a Village Pump page when clicking on link to a sub-thread.

Does this trigger with using "desktop" mode on iOS Safari, but with useparsoid=1? My assumption is that this is a MobileFrontEnd bug, not necessarily a Parsoid bug.

Thu, May 28, 2:34 PM · JavaScript, MinervaNeue, Parsoid, Browser-Support-Apple-Safari

Tue, May 26

cscott closed T417709: Link parsing diff when template emits category as Resolved.

This was a category breaking a wikilink, like:

[http://example.com/foo[[Category:Bar]].mp3 caption]

This is unsupported wiki syntax, that happened to work with the legacy parser because it stripped categories.

Tue, May 26, 4:13 PM · Parsoid-Read-Views (Large Wikipedias)
cscott added a project to T413437: Parsoid sometimes misplaces three consecutive closing brackets in image links: Parsoid-Read-Views (Large Wikipedias).
Tue, May 26, 3:04 PM · Parsoid-Read-Views (Large Wikipedias), Content-Transform-Team (Work In Progress), Parsoid-Rendering
cscott moved T424408: Use new ParsoidLanguageConverter pass for REST page API from Backlog to In Progress on the Content-Transform-Team (Work In Progress) board.
Tue, May 26, 2:57 PM · Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Language Converter Support)
cscott moved T424773: __NOCONTENTCONVERT__ is not honored in Parsoid from In Progress to To Verify on the Content-Transform-Team (Work In Progress) board.
Tue, May 26, 2:57 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott moved T405932: Provide a DOM version of the ExpandToAbsoluteURLs OutputTransform from Backlog to To Deploy on the Content-Transform-Team (Work In Progress) board.
Tue, May 26, 2:55 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Performance), OKR-Work
cscott moved T426603: The effect of the VisualEditor "Editing mode" preference on the section edit links is being included in the "post-processing cache" (aka "post-OutputTransform cache") without splitting the cache on the preference from In Progress to Code Review on the Content-Transform-Team (Work In Progress) board.
Tue, May 26, 2:44 PM · Patch-For-Review, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor-MediaWiki, VisualEditor
cscott moved T422866: Migrate parser tests to new phpunit:config mechanism from Code Review to To Verify on the Content-Transform-Team (Work In Progress) board.
Tue, May 26, 2:42 PM · Wikimedia-Hackathon-2026, Patch-For-Review, Content-Transform-Team (Work In Progress), Essential-Work, MediaWiki-Parser, MediaWiki-Core-Tests
cscott claimed T422866: Migrate parser tests to new phpunit:config mechanism.
Tue, May 26, 2:42 PM · Wikimedia-Hackathon-2026, Patch-For-Review, Content-Transform-Team (Work In Progress), Essential-Work, MediaWiki-Parser, MediaWiki-Core-Tests

Wed, May 20

cscott added a comment to T424773: __NOCONTENTCONVERT__ is not honored in Parsoid.

@Djido We should be honoring __NOCONTENTCONVERT__ on table of contents and the content, and __NOTITLECONVERT__ on the displayed title now (in 1.47.0-wmf.3, which should be on sr.wikipedia.org tomorrow).

Wed, May 20, 1:46 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering

Tue, May 19

cscott added a comment to T19006: Blank anchor [[#|anchor link]] should not link to the Main Page.

IMO the root of the problem is that Title::getFragment() (and also related lower-level interfaces, like Parsoid's LinkTarget::getFragment()) does not distinguish between no fragment and empty fragment. As a result we can't distinguish a completely empty title (which should be invalid, unless maybe T374555 changes something here) from a title with an empty fragment (which represents a link to a section within a page).

I think that's fixable, although it will take some effort. Start by changing these interfaces: https://codesearch.wmcloud.org/search/?q=public+function+getFragment\(\)%3A+string to return ?string instead of string, then review all of the code to return null for no fragment and '' for empty fragment…

Tue, May 19, 9:56 PM · Patch-For-Review, MediaWiki-Parser

Mon, May 18

cscott added a comment to T420078: Add Pashto translations of magic words related to Parser function extension.

Thanks! I'll give it a few more days to collect comments, then merge it.

Mon, May 18, 9:48 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), I18n, ParserFunctions
cscott moved T426603: The effect of the VisualEditor "Editing mode" preference on the section edit links is being included in the "post-processing cache" (aka "post-OutputTransform cache") without splitting the cache on the preference from Backlog to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:29 PM · Patch-For-Review, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor-MediaWiki, VisualEditor
cscott assigned T426603: The effect of the VisualEditor "Editing mode" preference on the section edit links is being included in the "post-processing cache" (aka "post-OutputTransform cache") without splitting the cache on the preference to ihurbain.
Mon, May 18, 3:28 PM · Patch-For-Review, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor-MediaWiki, VisualEditor
cscott edited projects for T426603: The effect of the VisualEditor "Editing mode" preference on the section edit links is being included in the "post-processing cache" (aka "post-OutputTransform cache") without splitting the cache on the preference, added: Content-Transform-Team (Work In Progress), Essential-Work; removed Content-Transform-Team.
Mon, May 18, 3:28 PM · Patch-For-Review, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor-MediaWiki, VisualEditor
cscott moved T410979: Document (and/or tweak) TOCData API representation from Backlog to To Verify on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:23 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Essential-Work, Content-Transform-Team (Work In Progress), MediaWiki-Action-API
cscott moved T424427: Rich Attributes Phase 3 Alternative 3c: implicit schema via attribute registry from Backlog to Code Review on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:22 PM · Content-Transform-Team (Work In Progress), Patch-For-Review, Essential-Work, Parsoid
cscott moved T422866: Migrate parser tests to new phpunit:config mechanism from In Progress to Code Review on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:22 PM · Wikimedia-Hackathon-2026, Patch-For-Review, Content-Transform-Team (Work In Progress), Essential-Work, MediaWiki-Parser, MediaWiki-Core-Tests
cscott moved T422866: Migrate parser tests to new phpunit:config mechanism from Backlog to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:21 PM · Wikimedia-Hackathon-2026, Patch-For-Review, Content-Transform-Team (Work In Progress), Essential-Work, MediaWiki-Parser, MediaWiki-Core-Tests
cscott moved T417514: Remove `thumbsize` from ParserOptions from Code Review to To Verify on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:16 PM · Readers Essential Work, Patch-For-Review, OKR-Work, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias)
cscott moved T417525: Remove `alt=` prefix from Parsoid data-mw.attrs representation of media alt options. from Code Review to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 18, 3:13 PM · Patch-For-Review, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Language Converter Support), MediaWiki-Language-converter, Parsoid
cscott closed T350819: Deprecate and remove MediaWiki\Linker\LinkTarget alias for Wikimedia\Parsoid\Core\LinkTarget as Invalid.
Mon, May 18, 5:34 AM · MediaWiki-General

Sat, May 16

cscott added a comment to T403445: README: Wikimania Core team onboarding.

Is https://www.mediawiki.org/wiki/VisualEditor/Real-time_collaboration / https://www.mediawiki.org/wiki/Extension:CollabPads an option?

Sat, May 16, 7:03 PM · Wikimania-Hackathon-2026
cscott added a comment to T345481: Migrate Parser and extension tests away from deprecated PHPUnit TestSuite subclassing.

I've got an implementation which seems to work for parser tests: it uses the phpunit:config target to generate a tests/phpunit/gen/ParserTest_*_Test.php class for every parser test file; that class then drives the parser test process using an ordinary data provider and the setUpBeforeClass and tearDownAfterClass handlers.

Sat, May 16, 5:19 AM · MW-1.46-notes (1.46.0-wmf.19; 2026-03-10), Patch-For-Review, Content-Transform-Team, User-Daimona, Essential-Work, MediaWiki-Parser, MediaWiki-Core-Tests

Thu, May 14

cscott added a comment to T420078: Add Pashto translations of magic words related to Parser function extension.

Can you point to a conversation on wiki where we have some community consensus and/or spell-checking? I've gotten in trouble in the past for merging these when it turned out there wasn't community consensus on the translations, so I like to have some community review before merging.

Thu, May 14, 2:55 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), I18n, ParserFunctions
cscott added a comment to T379645: Parsoid does not convert underscores to spaces for interwiki links.

Another con: An article on another wiki that you've already visited doesn't get :visited styling when the href contains spaces instead of underscores.

Maybe the interwiki table needs a switch for whether or not the target title should be treated like a MediaWiki title? (After all, the vast majority of the interwiki link targets that are actually used – especially when you consider interlanguage links – go to MediaWiki wikis.)

Thu, May 14, 2:42 PM · Patch-For-Review, Parsoid
cscott added a comment to T388286: Where should tasks for mediawiki-libs-LangConv go? Should it have a dedicated tag?.

We are deprecating this library, it has been replaced with an implementation in core. I don't object to creating a tag, but given the status of the library we could also just tag Content-Transform-Team (and/or archive the project).

Thu, May 14, 2:26 PM · Content-Transform-Team, MediaWiki-Language-converter, Project-Admins
cscott added a comment to T426006: Make Parsoid work with wgNativeImageLazyLoading and support mobile.

I thought there was some client-side JS involved here as well to load the images as the page becomes visible? Is it really just an attribute which is needed?

Thu, May 14, 2:24 PM · Content-Transform-Team, Parsoid, MobileFrontend, Readers Essential Work (Simplify MobileFrontend)
cscott added a comment to T426188: RfC: Investigate "Accept: text/markdown" as a lightweight content path for serving content.

POC patch here: POC: show markdown output for HTML (1270040) · Gerrit Code Review

Thu, May 14, 2:21 PM · User-jijiki, Parsoid, MediaWiki-General, Content-Transform-Team, ServiceOps new

Wed, May 13

cscott added projects to T426195: InvalidArgumentException: Invalid language code "' + variant + '": Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Language Converter Support).
Wed, May 13, 3:33 PM · Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Regression, MediaWiki-Language-converter, I18n, Wikimedia-production-error

Tue, May 12

cscott added a comment to T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler.

This has been deployed. https://logstash.wikimedia.org/goto/e61c8e222ac0415fedfd7d1f8792b100 showed 330,573 instances of this log over the past 24 hours, but none since deploying the revert.

Tue, May 12, 11:53 PM · MW-1.46-release, MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), MediaWiki-File-management
cscott added a comment to T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler.

@MGChecker i'll try to backport 1286508 in a few minutes.

Tue, May 12, 9:50 PM · MW-1.46-release, MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), MediaWiki-File-management
cscott added a parent task for T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler: T423911: 1.47.0-wmf.2 deployment blockers.
Tue, May 12, 9:47 PM · MW-1.46-release, MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), MediaWiki-File-management
cscott added a subtask for T423911: 1.47.0-wmf.2 deployment blockers: T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler.
Tue, May 12, 9:47 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments

Mon, May 11

cscott added a comment to T423739: BanConverter (Balinese language converter) includes XML tags for punctuation.

I think as a start we could make the extra variants available only via mediawiki configuration option, so that we can enable them on wikisource but not on the other projects (wikipedia, other sister projects).

Mon, May 11, 5:31 PM · Language and Product Localization, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Language Converter Support), MediaWiki-Language-converter
cscott moved T424773: __NOCONTENTCONVERT__ is not honored in Parsoid from To Verify to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:39 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott moved T348236: Introduce parser limit for # of images from Code Review to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:36 PM · Patch-For-Review, MW-1.46-notes (1.46.0-wmf.16; 2026-02-17), Parsoid-Read-Views (Performance), OKR-Work, Content-Transform-Team (Work In Progress), Parsoid
cscott added a comment to T420051: plwiki: Missing coordinates at top of page.

Probably some fix needed like https://it.wikipedia.org/w/index.php?title=Modulo%3AProtezione&diff=146699469&oldid=130072618

Mon, May 11, 3:31 PM · Parsoid-Read-Views (Small Size Wikipedias), Content-Transform-Team (Work In Progress)
cscott moved T353697: Parsoid/legacy parser {{Pre}} template rendering difference from In Progress to Q4 FY25-26 on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:24 PM · Parsoid-Read-Views (Large Wikipedias), MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Content-Transform-Team (Work In Progress), OKR-Work, Patch-For-Review, Parsoid
cscott moved T417514: Remove `thumbsize` from ParserOptions from Blocked to Code Review on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:23 PM · Readers Essential Work, Patch-For-Review, OKR-Work, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias)
cscott moved T399226: Support parallel parsing logic in the Math implementation targeting Parsoid from Blocked to In Progress on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:23 PM · OKR-Work, MW-1.45-notes (1.45.0-wmf.23; 2025-10-14), Parsoid-Read-Views (Small Size Wikipedias), Patch-For-Review, Content-Transform-Team (Work In Progress), Math
cscott moved T376152: Evaluate feasibility of deprecating (or limiting) user media size preferences from Blocked to Code Review on the Content-Transform-Team (Work In Progress) board.
Mon, May 11, 3:22 PM · OKR-Work, MediaWiki-Platform-Team (Radar), Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias), Commons, MediaWiki-File-management, MediaWiki-Core-Preferences
cscott closed T357054: Use Parsoid HTML for all page views on beta cluster, a subtask of T55784: [EPIC] Use Parsoid HTML for all page views, as Resolved.
Mon, May 11, 3:22 PM · Parsoid-Read-Views, Patch-For-Review, Parsoid-Rendering, Parsoid, Platform Team Legacy (Designing), MediaWiki-General, Product-Infrastructure-Team-Backlog-Deprecated, Services (designing), Roadmap, Epic, VisualEditor-Performance, Blocked-on-Services, RESTBase, Service-Architecture, VisualEditor, MediaWiki-User-Interface
cscott closed T357054: Use Parsoid HTML for all page views on beta cluster as Resolved.
Mon, May 11, 3:22 PM · OKR-Work, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias), Patch-For-Review, Parsoid-Rendering, Platform Team Legacy (Designing), Services (designing), Roadmap, Epic, VisualEditor-Performance, Blocked-on-Services, RESTBase, Service-Architecture, VisualEditor, MediaWiki-User-Interface
cscott added a comment to T334238: Create deprecation plan for public parsoid endpoints.

Is this still blocked, or can we move ahead with this?

Mon, May 11, 3:19 PM · Essential-Work, Content-Transform-Team (Work In Progress), Parsoid (Tracking), RESTBase Sunsetting

Sun, May 10

cscott added a comment to T425841: Red links to file pages link to erroneous Special:FilePath page in Parsoid.

I think we should just check this against VisualEditor and against the ParsoidLanguageConverter code in core, which also deal with red links. But I'd say from a design perspective we shouldn't be relying on any specific URL (either for red links or from actual media). Parsoid treats the URL provided as a black box, and we recognize the red link (or the media source) from other attributes in the HTML (resource, I think, but I'm writing this without double-checking the HTML).

Sun, May 10, 3:59 PM · Content-Transform-Team (Work In Progress), Patch-For-Review, Parsoid, Parsoid-Read-Views

Thu, May 7

cscott updated the task description for T425731: CTT tasks week of 2026-05-01.
Thu, May 7, 7:53 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Essential-Work, Content-Transform-Team (Work In Progress)
cscott updated the task description for T425731: CTT tasks week of 2026-05-01.
Thu, May 7, 7:40 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Essential-Work, Content-Transform-Team (Work In Progress)
cscott updated the task description for T424348: CTT tasks week of 2026-04-24.
Thu, May 7, 7:37 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Essential-Work, Content-Transform-Team (Work In Progress)
cscott created T425731: CTT tasks week of 2026-05-01.
Thu, May 7, 7:37 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Essential-Work, Content-Transform-Team (Work In Progress)
cscott edited projects for T424427: Rich Attributes Phase 3 Alternative 3c: implicit schema via attribute registry, added: Content-Transform-Team (Work In Progress); removed Content-Transform-Team.
Thu, May 7, 2:47 PM · Content-Transform-Team (Work In Progress), Patch-For-Review, Essential-Work, Parsoid
cscott edited projects for T270959: Expose more language data through the API, added: Content-Transform-Team (Work In Progress); removed Content-Transform-Team.
Thu, May 7, 2:45 PM · Content-Transform-Team (Work In Progress), MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MW-Interfaces-Team, Patch-For-Review, I18n, MediaWiki-Action-API
cscott moved T425008: WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids. from Backlog to To Deploy on the Content-Transform-Team (Work In Progress) board.
Thu, May 7, 2:44 PM · Content-Transform-Team (Work In Progress), Parsoid, Wikimedia-production-error
cscott edited projects for T425008: WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids., added: Content-Transform-Team (Work In Progress); removed Content-Transform-Team.
Thu, May 7, 2:43 PM · Content-Transform-Team (Work In Progress), Parsoid, Wikimedia-production-error
cscott edited projects for T425123: In Parsoid, some visual elements are separated by whitespace, added: Content-Transform-Team (Work In Progress); removed Content-Transform-Team.
Thu, May 7, 2:42 PM · Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott added a comment to T425364: Hatnote templates do not merge.

This is caused by the selector at https://en.wikipedia.org/w/index.php?title=Module:Hatnote/styles.css&oldid=1320445320#L-19, which doesn't apply on parsoid, as there are no link elements for the deduplicated styles between the divs. There should probably also be a selector for .hatnote + .hatnote that applies the same styles.

The actual issue was caused by T378906: Categories as link tags cause navboxes to have a rendering difference. I will probably need to fix onwiki with the new approach there, but I don't want to do that until the new approach is live (circa Thursday this week).

Thu, May 7, 2:41 PM · Parsoid, Parsoid-Rendering, Parsoid-Read-Views
cscott added a comment to T425123: In Parsoid, some visual elements are separated by whitespace.

This will require a CSS fix in srwiki, although there are some tweaks which are still rolling out in Parsoid to mitigate to some degree. We expect next train (next week) will have some final pieces of the puzzle, and we will document how to update the CSS on https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Instructions_for_editors#Adapt_CSS once that rolls out.

Thu, May 7, 2:40 PM · Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott updated subscribers of T384599: Errors in refs defined in a references tag are not reported correctly in the Parsoid implementation of Cite.

(We're assuming that "rollback" means "backport" here.)

Thu, May 7, 2:35 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), WMDE-TechWish-Sprint-2026-04-27-Multicolor-Potatoes, MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Patch-For-Review, WMDE-TechWish-Sprint-2026-03-17-all-of-the-beans, WMDE-TechWish (product board), OKR-Work, Parsoid-Read-Views (Small Size Wikipedias), Content-Transform-Team (Work In Progress), Cite
cscott removed projects from T425145: VisualEditor doesn't show newly added references when using {{reflist}}: Content-Transform-Team, Parsoid.

We're going to untag Content-Transform-Team from this issue as it is being fixed in Cite/VE. Feel free to retag us or find us on slack etc if you need more assistance from our team.

Thu, May 7, 2:28 PM · Editing-team (Editing-Q4-27Apr-8May-2026), WMDE-TechWish-Sprint-2026-05-12-Fungi, Cite
cscott added a comment to T425145: VisualEditor doesn't show newly added references when using {{reflist}}.

The spec for what Parsoid generates inside a transcluded block is https://www.mediawiki.org/wiki/Specs/HTML/2.8.0#Contents_of_transcluded_blocks so it should be possible to use that spec to reliably detect a <references/> node by the typeof="mw:Extension/references". We believe that WMDE is working on a path to make the detection of <references> inside VE more robust.

Thu, May 7, 2:26 PM · Editing-team (Editing-Q4-27Apr-8May-2026), WMDE-TechWish-Sprint-2026-05-12-Fungi, Cite
cscott triaged T425337: Dodo PHPUnit tests fail as Low priority.
Thu, May 7, 2:19 PM · Content-Transform-Team, ci-test-error, Parsoid (Dodo)
cscott moved T425337: Dodo PHPUnit tests fail from Backlog to Later on the Content-Transform-Team board.
Thu, May 7, 2:19 PM · Content-Transform-Team, ci-test-error, Parsoid (Dodo)
cscott added a comment to T279612: Gerrit: default branch for new projects should be "main".

I'll note briefly that since T273237 was resolved (5 years ago, in 2021), nothing seems to break if the main branch is used for *library* code. There are a number of libraries which have been using branches named main for about five years without setting anything on fire or terrifying new contributors. Bcp47Code is one, as is JsonCodec, https://gerrit.wikimedia.org/r/q/project:mediawiki/libs/IDLeDOM, https://gerrit.wikimedia.org/r/q/project:mediawiki/libs/WebIDL etc etc.

Thu, May 7, 1:49 AM · Voice & Tone, Release-Engineering-Team (Radar), Gerrit
cscott added a comment to T425607: Create project tag for `wikimedia/zest-jq` composer package.

See also T425606: Create project tag for `wikimedia/zest` composer package, for the related zest library.

Thu, May 7, 1:38 AM · MediaWiki-libs-ZestJQ, Project-Admins
cscott created T425607: Create project tag for `wikimedia/zest-jq` composer package.
Thu, May 7, 1:33 AM · MediaWiki-libs-ZestJQ, Project-Admins
cscott renamed T425606: Create project tag for `wikimedia/zest` composer package from Create project tag for `wikimedia/zest` to Create project tag for `wikimedia/zest` composer package.
Thu, May 7, 1:30 AM · user-a_smart_kitten, Patch-For-Review, MediaWiki-libs-Zest, Project-Admins
cscott created T425606: Create project tag for `wikimedia/zest` composer package.
Thu, May 7, 1:30 AM · user-a_smart_kitten, Patch-For-Review, MediaWiki-libs-Zest, Project-Admins

Mon, May 4

cscott placed T420051: plwiki: Missing coordinates at top of page up for grabs.
Mon, May 4, 3:30 PM · Parsoid-Read-Views (Small Size Wikipedias), Content-Transform-Team (Work In Progress)
cscott moved T424773: __NOCONTENTCONVERT__ is not honored in Parsoid from Backlog to To Deploy on the Content-Transform-Team (Work In Progress) board.
Mon, May 4, 3:26 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering

Sun, May 3

cscott created T425290: Section links (HTML #anchors) don't work on mobile + Parsoid + minerva + specific screen sizes.
Sun, May 3, 4:52 PM · Verified, patch-welcome, Parsoid, MobileFrontend, Content-Transform-Team (Work In Progress), Parsoid-Read-Views

Fri, May 1

cscott updated the task description for T420372: Create a library which extends CSS with JQ-style selectors into JSON data attributes.
Fri, May 1, 7:35 PM · MediaWiki-libs-ZestJQ, MediaWiki-libs-Zest, Content-Transform-Team, Patch-For-Review

Apr 30 2026

cscott closed T410543: Pages that have a `variant=` parameter or use a $wgVariantArticlePath should not use Parsoid as Declined.

Parsoid supports LanguageConverter in production now: T380517: Make Parsoid language conversion into an OutputTransform pass

Apr 30 2026, 4:32 PM · MediaWiki-extensions-ParserMigration, incubator.wikimedia.org, Parsoid-Read-Views (Language Converter Support)
cscott renamed T425008: WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids. from Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids. to WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids..
Apr 30 2026, 4:00 PM · Content-Transform-Team (Work In Progress), Parsoid, Wikimedia-production-error
cscott added a comment to T425008: WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids..

Some other URLs associated with this crash, which are more useful than trying to chase down the title involved in the ParsoidCachePrewarmJob:

Apr 30 2026, 3:59 PM · Content-Transform-Team (Work In Progress), Parsoid, Wikimedia-production-error
cscott created T425008: WrapSectionState crash: Wikimedia\Assert\InvariantException: Invariant failed: Expected only language variants to be missing about ids..
Apr 30 2026, 3:55 PM · Content-Transform-Team (Work In Progress), Parsoid, Wikimedia-production-error
cscott added a comment to T387808: Rip out nested extension tag support from grammar.

Related to T380979: Block nesting <ref> tags in the details syntax perhaps?

Apr 30 2026, 2:19 PM · Content-Transform-Team (Work In Progress), OKR-Work, Parsoid-Read-Views (Small Size Wikipedias), Parsoid

Apr 29 2026

cscott created T424908: PHP Warning: Undefined array key "section".
Apr 29 2026, 10:44 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Community-Tech (Sea Lion Squad), WikimediaCustomizations, MediaWiki-extensions-GlobalPreferences, Wikimedia-production-error
cscott closed T423742: Parsoid doesn't handle `<td style<nowiki>=</nowiki>...>` correctly on crhwiki as Resolved.
Apr 29 2026, 7:04 PM · Parsoid, Parsoid-Read-Views, Content-Transform-Team (Work In Progress)
cscott updated the task description for T423785: Parsoid Read Views to deploy ~2026-04-20 (Language Converter wikis).
Apr 29 2026, 7:03 PM · OKR-Work, Content-Transform-Team (Work In Progress)
cscott created T424880: Parsoid Read Views to deploy 2026-04-29-2026-04-30 (enwiki mobile web).
Apr 29 2026, 5:27 PM · Content-Transform-Team (Work In Progress), OKR-Work
cscott updated the task description for T423785: Parsoid Read Views to deploy ~2026-04-20 (Language Converter wikis).
Apr 29 2026, 5:20 PM · OKR-Work, Content-Transform-Team (Work In Progress)
cscott updated the task description for T424590: Parsoid Read Views to deploy ~2026-04-30.
Apr 29 2026, 5:16 PM · Content-Transform-Team (Work In Progress), OKR-Work

Apr 28 2026

cscott added a comment to T424687: Remove UseLegacyMediaStyles, change loading pattern and deprecate.

We can rephrase that. My intention was that step was "make use of the deprecated module visible to editors". I think you suggested adding some sort of warning to the console when skins.legacythumbs.deprecated was loaded.

Apr 28 2026, 10:53 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Core-Skin-Architecture
cscott claimed T424773: __NOCONTENTCONVERT__ is not honored in Parsoid.
Apr 28 2026, 10:51 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott added a parent task for T373384: Parsoid doesn't properly handle double-underscore magic words: T424773: __NOCONTENTCONVERT__ is not honored in Parsoid.
Apr 28 2026, 10:49 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), OKR-Work, Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Small Size Wikipedias), Parsoid
cscott added a subtask for T424773: __NOCONTENTCONVERT__ is not honored in Parsoid: T373384: Parsoid doesn't properly handle double-underscore magic words.
Apr 28 2026, 10:49 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott added a comment to T424773: __NOCONTENTCONVERT__ is not honored in Parsoid.

oh, right, this is probably a side-effect of T373384: Parsoid doesn't properly handle double-underscore magic words.

Apr 28 2026, 10:49 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Parsoid-Read-Views (Language Converter Support), Content-Transform-Team (Work In Progress), Serbian-Sites, Parsoid-Rendering
cscott closed T310526: Parsoid read views doesn't support -{T|...}- page title markup, a subtask of T272987: [EPIC] Parsoid read views for DiscussionTools, as Resolved.
Apr 28 2026, 10:46 PM · Epic, Parsoid-Read-Views (Phase 1 - DiscussionTools support), Editing-team (Tracking), DiscussionTools, Parsoid
cscott closed T310526: Parsoid read views doesn't support -{T|...}- page title markup as Resolved.

This works now.

Apr 28 2026, 10:46 PM · Content-Transform-Team (Work In Progress), Parsoid-Read-Views (Phase 1 - DiscussionTools support), Editing-team (Tracking), DiscussionTools, Parsoid
cscott added a parent task for T424775: Create Parsoid 0.23.0 for MW 1.46.0: T423255: Release MediaWiki 1.46.0.
Apr 28 2026, 9:15 PM · MW-1.46-notes, MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MW-1.46-release, Content-Transform-Team (Work In Progress), Essential-Work, Parsoid
cscott added a subtask for T423255: Release MediaWiki 1.46.0: T424775: Create Parsoid 0.23.0 for MW 1.46.0.
Apr 28 2026, 9:15 PM · MediaWiki-Releasing, Release, MW-1.46-release
cscott created T424775: Create Parsoid 0.23.0 for MW 1.46.0.
Apr 28 2026, 9:13 PM · MW-1.46-notes, MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MW-1.46-release, Content-Transform-Team (Work In Progress), Essential-Work, Parsoid
cscott added a comment to T424687: Remove UseLegacyMediaStyles, change loading pattern and deprecate.

Rough plan:

  • Implement {{#media:content=....}} as a new parser function (T318433#10397735) to allow migration of content using the existing legacy DOM structure.
  • Document new parser function & recommended conversion for editors on wiki, send note to Tech News with deadline for conversion
  • Add something like if ( (strpos( $out->getHtml(), 'thumbinner' ) ) { $out->addModule('skins.legacythumbs.deprecated'); } (similar pattern as used for mw-ui-button)
  • Set $wgUseLegacyMediaStyles = false in production
  • Remove this code from 1.47
Apr 28 2026, 6:27 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Core-Skin-Architecture