Page MenuHomePhabricator

Parsoid/OCG doesn't recognize <source lang="foo">
Open, MediumPublic


Collection extension does not recognize <source lang="foo">

It should
1-use syntax highlighting
2-not removing the first space
3-show codes at pages which have one column text not two column

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:59 AM
bzimport added a project: Collection.
bzimport set Reference to bz71598.
bzimport added a subscriber: Unknown Object (MLST).
Yamaha5 created this task.Oct 3 2014, 5:13 AM
cscott renamed this task from Collection extension doesn't recognize <source lang="foo"> to Parsoid/OCG doesn't recognize <source lang="foo">.Jul 19 2015, 3:55 PM
cscott claimed this task.
cscott triaged this task as Medium priority.
cscott edited projects, added OCG-PDF-renderer, Parsoid; removed Collection.
cscott set Security to None.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 19 2015, 3:55 PM

Parsoid perhaps should treat this an an extension?

Otherwise OCG has to parse the output of the syntax highlight extension and do something intelligent with it (which means that OCG needs an extension mechanism as well, I guess).

This might just "go away" when the HTML-based OCG renderer comes on line, since it will render the existing HTML correctly. We still won't have any semantic information about the output of the extension, though.

Yamaha5 raised the priority of this task from Medium to High.Aug 9 2015, 12:09 PM
ssastry lowered the priority of this task from High to Medium.Aug 9 2015, 3:30 PM
ssastry added a subscriber: ssastry.Aug 9 2015, 3:33 PM

Please do not change priority without at least explaining your rationale. We have to balance several competing priorities and this doesn't change what we are doing right now and what we focus on.

Krenair added a subscriber: Krenair.Aug 9 2015, 3:36 PM
Arlolra added a subscriber: Arlolra.

Parsoid perhaps should treat this an an extension?

It does.

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on