Page MenuHomePhabricator

Incomplete output with 1.0.8.11
Closed, ResolvedPublic

Description

Example input

I attached a bit of javascript code inside a <syntaxhighlight> tag. Enter it into an edit window and hit preview (or save). Most of the code is missing in output, especially the laaaarge array.
On http://qbnz.com/highlighter/php_highlighter.php this input works as expected, so either GeSHi shipped with this extension should be updated or the bug is elsewhere.


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/wiki/User:PerfektesChaos/js/WikiSyntaxTextMod/rU.js
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=45953

Attached:

Details

Reference
bz39498

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:59 AM
bzimport added a project: SyntaxHighlight.
bzimport set Reference to bz39498.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Created attachment 10984 [details]
Example input

I attached a bit of javascript code inside a <syntaxhighlight> tag. Enter it
into an edit window and hit preview (or save). Most of the code is missing in
output, especially the laaaarge array.
On http://qbnz.com/highlighter/php_highlighter.php this input works as
expected, so either GeSHi shipped with this extension should be updated or the
bug is elsewhere.

1.0.8.11 was only released yesterday.. Patch in https://gerrit.wikimedia.org/r/#/c/20665/

Testing locally with 1.0.8.10, it works fine. Upgrading to 1.0.8.11 it shows exactly the same

It is however replicable on mw.org see https://www.mediawiki.org/wiki/User:Reedy/bug39498

I've merged 1.0.8.11, so we'll see if the update fixes mw.org later on today..

Attached:

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

Apparently this is still an issue. Must be something in how we interact with GeSHi...

Even though this was filed first, I'm going to mark it as a duplicate of bug 45669 as that bug describes the actual issue rather than just the symptoms.

  • This bug has been marked as a duplicate of bug 45669 ***