Page MenuHomePhabricator

ZImplementation - Code blocks do not use correct language
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Edit a function, and go to the "Write Function" tab
  • Select a language (JavaScript)

What happens?:
Code is not correctly colored/formatted, code help does not trigger

What should have happened instead?:
For JS, colors are applied to the code, and some symbols have their start and end characters injected at the same time. Also, the editor alerts to code issues, such as bad syntax, but that is not working right now.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Event Timeline

Change 724070 had a related patch set uploaded (by Lindsay Wardell; author: Lindsay Wardell):

[mediawiki/extensions/WikiLambda@master] Fix reference to Ace code editor modes for code formatting

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

Change 723657 had a related patch set uploaded (by Lindsay Wardell; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Follow-up 57f50ecb2: Fix Ace worker base path

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

Change 724070 abandoned by Lindsay Wardell:

[mediawiki/extensions/WikiLambda@master] Fix reference to Ace code editor modes for code formatting

Reason:

Duplicate of 723657

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

Change 723657 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Follow-up 57f50ecb2: Fix Ace worker base path

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