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

Tokens
"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
None
Authored By
KasiaWMDE, Jun 3 2015

Description

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

Effort:

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
intracer added a subscriber: intracer.

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

kaldari removed kaldari as the assignee of this task.Aug 20 2015, 9:08 PM

See also: T104479 (Provide a modern wikitext editor)

It may be useful to discuss how wikisyntax should be highlighted and about other helpful features, such as autocompletion, code folding, vim text bindings, bracket and tag matching, support for split views and various themes.

Wikisyntax highlighting is not a trivial task, as it might seem at first glance. For example, if compared to highlighting of the program code, there are only a few types of tokens, such as strings, numbers, variables, functions, comments.

Wiki syntax contains a large number of tokens that can be nested within each other, they are very close to each other and have a small size. Moreover wikitext can be bold and italic. The concentration of tokens may also be very different, for example in articles and in templates.

Need to find a balance between syntax highlighting and porridge of colors, and I think that only editors can tell what version they prefer. It is also possible, there will be several of these versions, and IMO it will be very convenient to have several themes for syntax highlighting.

Although certainly, it doesn't hurt to dream

kaldari moved this task from Blocked to Backlog on the Community-Tech board.Aug 24 2015, 10:13 PM
kaldari renamed this task from [GTWL] Epic: Highlighted wikisyntax while editing articles to [GTWL][AOI] Epic: Highlighted wikisyntax while editing articles.Aug 25 2015, 1:07 AM
Restricted Application added a subscriber: Sadads. · View Herald TranscriptAug 30 2015, 3:57 PM
Sadads removed a subscriber: Sadads.Sep 3 2015, 1:56 PM
Elitre added a subscriber: Elitre.Sep 10 2015, 12:41 PM

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

Editing-Team / @TrevorParscal: Is there any rough timeframe / public roadmap (link?) available?

DannyH moved this task from Backlog to Untriaged on the Community-Tech board.Oct 28 2015, 7:01 PM
DannyH moved this task from Untriaged to Freezer on the Community-Tech board.
DannyH renamed this task from [GTWL][AOI] Epic: Highlighted wikisyntax while editing articles to [GTWL] Epic: Highlighted wikisyntax while editing articles [AOI].Oct 28 2015, 7:04 PM
AS added a subscriber: AS.Jan 2 2016, 11:01 PM
IMPORTANT: If you are a community developer interested in working on this task: The Wikimedia Hackathon 2016 (Jerusalem, March 31 - April 3) focuses on #Community-Wishlist-Survey projects. There is some budget for sponsoring volunteer developers. THE DEADLINE TO REQUEST TRAVEL SPONSORSHIP IS TODAY, JANUARY 21. Exceptions can be made for developers focusing on Community Wishlist projects until the end of Sunday 24, but not beyond. If you or someone you know is interested, please REGISTER NOW.
Restricted Application added a subscriber: JEumerus. · View Herald TranscriptJan 21 2016, 2:53 PM

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

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

I'll just summarize that TOP-20 user community requested feature was promised by Editing-Department 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.

Editing-Department / @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.Mon, May 8, 9:53 AM