Some modules are only loaded if the content requires it. If such content is added in your edit, the module won't be available when you do an async show preview from the save dialog.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Load modules for preview | mediawiki/extensions/VisualEditor | master | +61 -11 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Yeah... Since we use Parsoid instead of the MW parser for this, it might take a bit of guesswork based on what we get back. The MW api.php action=parse gives a list of the ResourceLoader modules used on the page - Parsoid doesn't.
Comment Actions
Change 406770 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Load modules for preview
Comment Actions
Change 406770 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Load modules for preview
Comment Actions
Sorry, lost track of this. But, Parsoid does generate the list of modules in the <head> tag but if VE requests content in body_only mode, then it will not see this info. One of the reasons we want to get rid of the body_only option ( T181657 )