Page MenuHomePhabricator

Parsoid doesn't add JS modules to <head> in its output
Open, MediumPublic

Description

Parsoid output doesn't include JS modules / resources in its output. This task has been split from T139852#2807689

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedEsanders
OpenNone
OpenNone
ResolvedJules78120
OpenNone
ResolvedDannyH
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedEsanders
StalledNone
OpenTheDJ
OpenNone

Event Timeline

ssastry created this task.Apr 6 2017, 7:31 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 6 2017, 7:31 PM
ssastry triaged this task as Medium priority.Apr 9 2017, 9:58 PM
ssastry moved this task from Needs Triage to Read Views on the Parsoid board.Jan 11 2018, 9:19 PM

We also don't expose the CSS modules in a very friendly manner. They get appended to a list of common style modules, then serialized into a ResourceLoader URL.

Perhaps we could have some sort of meta tag which lists the RL modules (CSS & JS) required to render the page?

Reedy edited projects, added Parsoid-Read-Views; removed Parsoid.Sep 17 2018, 7:25 PM
Aklapper edited projects, added Parsoid; removed Parsoid-Read-Views.Feb 29 2020, 5:14 PM

See T147702 where our hack solution involved extracting the module names from the ResourceLoader query string.