Page MenuHomePhabricator

Convert syntax highlighting into a Beta feature
Closed, ResolvedPublic2 Estimated Story Points

Description

Let's convert CodeMirror's syntax highlighting into a beta feature.

Title: Syntax highlighting
Information link: https://meta.wikimedia.org/wiki/Community_Tech/Wikitext_editor_syntax_highlighting
Discussion link: https://meta.wikimedia.org/wiki/Talk:Community_Tech/Wikitext_editor_syntax_highlighting
Illustration: tbd T165541: Illustration for Syntax Highlighting beta feature

Description:
Syntax highlighting makes editing easier by using color and shade to visually separate article text from the code for links, references and templates.

Event Timeline

kaldari set the point value for this task to 2.May 16 2017, 11:14 PM
DannyH moved this task from Needs Discussion to Up Next (May 6-17) on the Community-Tech board.

Is this task for writing the code that makes the extension a beta feature or for making the deployment patches?

kaldari renamed this task from Deploy syntax highlighting to Beta features to Convert syntax highlighting into a Beta feature.May 26 2017, 8:25 PM
kaldari updated the task description. (Show Details)
kaldari edited projects, added Community-Tech-Sprint; removed Community-Tech.

@kaldari - are we doing something like this for the NWE version too?
Assuming this ticket is only for the old wikitext editor.

This is also for the NWE version. Both editors should get the feature when you turn on the beta feature. Note that currently, enabling CodeMirror (via global config) enables syntax highlighting for both editors.

Change 358494 had a related patch set uploaded (by Niharika29; owner: Niharika29):
[mediawiki/extensions/CodeMirror@master] Add syntax highlight as a beta feature

https://gerrit.wikimedia.org/r/358494

kaldari moved this task from In Development to Q1 2018-19 on the Community-Tech-Sprint board.

Change 358494 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] Add syntax highlight as a beta feature

https://gerrit.wikimedia.org/r/358494

Change 366034 had a related patch set uploaded (by Niharika29; owner: Niharika29):
[mediawiki/extensions/CodeMirror@master] Make the discussion link point to the meta page for the feature and update description string

https://gerrit.wikimedia.org/r/366034

Jdforrester-WMF subscribed.

Changing the discussion page link to go to meta is not OK for a Beta Feature. It needs to be a Flow board, which is why it was changed in the first place. In general, technical pages should always be on MW.org not meta, but that boat has sailed.

@Jdforrester-WMF : okay, I can't argue against using a Flow board. :) We'll link to the MW page.

Bah, sorry, thought this was just about where to link the discussion page. Ignore me. :-)

Change 366034 abandoned by Jforrester:
Make the discussion link point to the meta page for the feature and update description string

Reason:
Per Danny on Phab.

https://gerrit.wikimedia.org/r/366034

In stalled you mean there will not be highlighting until 2019?

Thank you. I know that, @DannyH, but if it could be fixed in a week there would be no stalled, I think.

Resolved, the Beta feature is live again.