[GTWL] Epic: Highlighted wikisyntax while editing articles [AOI]
Open, NormalPublic

"Like" token, awarded by Mysteriumen."Like" token, awarded by Trizek-WMF."Party Time" token, awarded by Elitre."Like" token, awarded by TerraCodes."Love" token, awarded by Liuxinyu970226."Love" token, awarded by Pearli123."Love" token, awarded by He7d3r."Love" token, awarded by Shizhao."Love" token, awarded by intracer."Love" token, awarded by Ricordisamoa."Love" token, awarded by Perhelion.
Assigned To
Authored By
KasiaWMDE, Jun 3 2015


As a Wikipedia editor I want to see highlighted wikisyntax while editing articles in sourcecode mode.

See https://de.wikipedia.org/wiki/Wikipedia:Umfragen/Technische_W%C3%BCnsche/Top_20#Syntaxhervorhebung_f.C3.BCrs_Editieren_eines_Artikels_im_Quelltext (in German).

Further details:

See also


Needs to be further discussed with:

This is part of the Top 20 wishes of the German community

This task is #20 in the 2015 Community Wishlist survey.

Related Objects

There are a very large number of changes, so older changes are hidden. Show Older Changes

I'll just summarize that TOP-20 user community requested feature was promised by Contributors-Team to be implemented on Aug 21 2015 so @kaldari unassigned himself.
Since then the editing department and their manager @TrevorParscal were asked on Oct 19 2015 and May 2 2016 about their plans but gave no answer.

Qgil updated the task description. (Show Details)May 12 2016, 7:02 AM

The WMF editing team says that they want to handle this so I'm going to unassign myself.

Contributors-Team / @TrevorParscal: Is there any rough timeframe / public roadmap (link) available? Is the statement still valid?

@Jdforrester-WMF might be able to shed some light on this.

I emailed @Jdforrester-WMF, @TrevorParscal, and @Esanders a month ago asking for an update, but didn't get any reply.

According to Ed Sanders and James F, the new WikiText editor was de-prioritised by the C-levels in September and they are not working on it this quarter. The main issues they are facing with it are making it performant enough to replace the existing WikiText editor, and that it has the potential to be a disruptive change. Ed reiterated that successfully deploying a third party syntax highlighter would become a blocker for any VE-based wikitext editor to re-implement syntax highlighting.

Ijon added a subscriber: Ijon.May 14 2016, 2:32 AM
He7d3r added a subscriber: He7d3r.Dec 16 2016, 7:08 PM
Restricted Application added a subscriber: Luke081515. · View Herald TranscriptDec 20 2016, 10:30 PM

I'm not sure what Wikia uses but it appears to be quite fast. Here's a page with over 300,000+ bytes http://starwars.wikia.com/wiki/Anakin_Skywalker?action=edit

I'm not sure what Wikia uses but it appears to be quite fast. Here's a page with over 300,000+ bytes http://starwars.wikia.com/wiki/Anakin_Skywalker?action=edit

Interesting. It's very basic compared to what's been requested by some, but it might well be "good enough" for most users. On performance, I'm seeing ~ 0.5s response time on my (very fast) machine between key press and the content getting coloured in, which I wouldn't consider great, though this is as you say working on the equivalent to the text of the English Wikipedia's Barack Obama article (300,489 bytes as of writing). The highlights are a different layer above the textarea, which avoids corrupting IMEs, but risks getting out of sync at odd font/etc. sizes. Doing something like this in NWE might be very vaguely plausible. Happy to talk about it next week.

Ah! Interesting.

The SyntaxHighlight extension doesn't support WikiText, which would require adding WikiText support to Pygments (see T29828).

mxn added a subscriber: mxn.Jan 29 2017, 7:48 PM
Pearli123 added a subscriber: Pearli123.
TerraCodes added a subscriber: TerraCodes.
Elitre awarded a token.May 8 2017, 9:53 AM
DannyH added a subscriber: DannyH.Jul 6 2017, 9:55 PM

Syntax highlighting is now live on Test Wiki as a beta feature:


We're testing it this week before we deploy it to live wikis, so feel free to take a look, and leave comments here:


jeblad updated the task description. (Show Details)Aug 4 2017, 7:13 AM

Change 229616 abandoned by TheDJ:
[WIP] Syntax highlighter

I think we can abandon this.


Restricted Application added a subscriber: Danmichaelo. · View Herald TranscriptAug 23 2017, 5:09 PM

A heads-up for people who are watching this ticket: the Beta feature is live again on LTR projects.

Restricted Application added a subscriber: jeblad. · View Herald TranscriptAug 25 2017, 6:39 PM