Page MenuHomePhabricator

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

Description

Collection extension does not recognize <source lang="foo">
see: http://en.wikipedia.org/wiki/User:Yamaha5/Bug_of_PDF

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

Details

Reference
bz71598

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 mediawiki.org.

Aklapper removed cscott as the assignee of this task.Jun 19 2020, 4:26 PM
Aklapper edited subscribers, added: cscott; removed: wikibugs-l-list.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)