Last modified: 2014-09-09 09:58:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59159, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57159 - Flow: syntax highlighting doesn't work
Flow: syntax highlighting doesn't work
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ee-flow.wmflabs.org/wiki/Talk:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 04:49 UTC by MZMcBride
Modified: 2014-09-09 09:58 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2013-11-18 04:49:02 UTC
http://ee-flow.wmflabs.org/wiki/Talk:Sandbox

Syntax highlighting doesn't work with Flow.

Example input:

---
<syntaxhighlight lang="css">
.foo {
    font-weight: bold;
}
</syntaxhighlight>
---

Output is not appropriately highlighted, at least in Flow page headers.
Comment 1 spage 2013-11-18 08:04:14 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/475, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Quiddity 2013-12-20 00:36:52 UTC
another example at https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&workflow=050c27a75b2dcc146adc842b2b77e796#flow-post-050c27dd37d200e9aae290b11c2788d8

which is copied from https://www.mediawiki.org/wiki/Talk:About_Beta_Features#HTML

(possibly the same as bug 55533 ("VisualEditor: MWSyntaxHighlight* is badly broken") ?)
Comment 3 Quiddity 2014-07-17 17:29:31 UTC
TheDJ notes, "ah, I see that Resourceloader modules don't work yet :)".[1]

So perhaps this bug should be expanded to cover that? 
I'll leave that up to the devs.

[1] at https://www.mediawiki.org/w/index.php?title=Talk:Flow&workflow=rxtlvx7tsc2qqf1b#flow-post-ry5zwru18qpuglqk
Comment 4 Quiddity 2014-09-09 03:17:10 UTC
On trello at https://trello.com/c/qb7ulCmy/
Comment 5 Derk-Jan Hartman 2014-09-09 09:58:20 UTC
Flow needs 2 things here. When rendering the original page, it needs to pick up the resources and add them into the parser output, so they end up on the head. Additionally, they need to be transferred in api results, preferably similar to how action=parse does it for prop=modules.


This is probably closely related to bug 67540:

And specifically you might want to look at one of it's blockers:
Bug 51245, bug 58388 and bug 67515 which detail similar problems for VE..

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links