Page MenuHomePhabricator

VisualEditor: Changing language of a <syntaxhighlight /> node doesn't load styles for new language
Closed, ResolvedPublic1 Story Points

Description

Changing language of a <syntaxhighlight /> node doesn't load styles for new language.

SyntaxHighlight_GeSHi defines a module for each supported language (in the format "ext.geshi.language.$lang"), VE should ensure that the appropriate module is present. Not sure how the content is updated, but the information about required modules should be provided in the ParserOutput and by the action=parse API.


Version: unspecified
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58388

Details

Reference
bz67515

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz67515.
matmarex created this task.Jul 4 2014, 12:58 AM

Change 214078 had a related patch set uploaded (by Jforrester):
Add VE support for syntax highlighting

https://gerrit.wikimedia.org/r/214078

Change 214078 merged by jenkins-bot:
Add VisualEditor support

https://gerrit.wikimedia.org/r/214078

Krenair assigned this task to Esanders.
Krenair closed this task as Resolved.
Krenair added a subscriber: Krenair.
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.