Page MenuHomePhabricator

Syntax highlighting disappears when adding a new line in 2010 wikitext editor
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

(see video below)

What happens?:
Syntax highlighting disappears

What should have happened instead?:
Syntax highlighting should not be affected

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Nemoralis could you possibly provide a live URL to the article you were trying to edit? Or provide the wikitext here, if you still have it handy? This will help with reproducing the issue. Thanks!

This comment was removed by Bhsd.

I'm able to reproduce on Ubuntu, but only in Firefox. Chromium seems fine. @Nemoralis are you using Firefox as well?

I think this issue will be fixed in the next MediaWiki version. Here is a patch demo.