Page MenuHomePhabricator

cscott (C. Scott Ananian)
Parser whisperer

Projects (25)

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • 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

Today

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

Yesterday

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