Parsoid: <source> extension blocks not wrapped in a <div typeof="mw:Object/Extension/syntaxhighlight">
Closed, ResolvedPublic

Description

<syntaxhighlight> blocks are wrapped in <div>s with a typeof set to "mw:Object/Extension/syntaxhighlight"; however, <source> ones don't get this treatment, and just appear as <pre>s in the article text (despite being an alias for <syntaxhighlight> now).

Compare http://parsoid.wmflabs.org/en/Foobar?oldid=551574689 with http://parsoid.wmflabs.org/en/Foobar?oldid=551570966 for the difference.


Version: unspecified
Severity: normal

Details

Reference
bz47579
bzimport set Reference to bz47579.

Related URL: https://gerrit.wikimedia.org/r/60600 (Gerrit Change Ifc8776419755b669d712b5bb028633cdd60e8c41)

https://gerrit.wikimedia.org/r/60600 (Gerrit Change Ifc8776419755b669d712b5bb028633cdd60e8c41) | change APPROVED and MERGED [by jenkins-bot]

Now merged; thank you all. :-)

(Longer term we'll want to reverse this once we've scoured the wikis of <source> tags.)

  • Bug 47454 has been marked as a duplicate of this bug. ***

Related URL: https://gerrit.wikimedia.org/r/70664 (Gerrit Change I0de1e49e2fdff76874ca48f88d8b8bb4ff75e923)

[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

Add Comment