Page MenuHomePhabricator

Make language identification for a code block case insensitive in VE
Closed, ResolvedPublic1 Estimated Story Points

Description

Original report

On this article, there is a section with a C language example. The wikitext for this example is <syntaxhighlight lang="C"> instead of <syntaxhighlight lang="c">. Result: the code block is not displayed while editing with VE.

I've reproduced it on a non-RTL language wiki.

Event Timeline

Trizek-WMF raised the priority of this task from to Needs Triage.
Trizek-WMF updated the task description. (Show Details)
Trizek-WMF added a project: VisualEditor.
Trizek-WMF subscribed.
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Krinkle renamed this task from Language identification for a code block is case sensitive: some blocks disappear while editing with VE to Make language identification for a code block is case insensitive in VE.Apr 28 2017, 9:43 PM

This is still a problem, although less severe: the code block appears in VE and can be edited, but after opening the dialog, the language name is considered invalid and you can't apply changes in the dialog until you "fix" it.

ptrcnull renamed this task from Make language identification for a code block is case insensitive in VE to Make language identification for a code block case insensitive in VE.Oct 24 2018, 3:51 PM

Change 469453 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bjornskjald):
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Make VE language checking case-insensitive

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

Change 469453 merged by jenkins-bot:
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Make VE language checking case-insensitive

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

matmarex assigned this task to ptrcnull.
matmarex removed a project: Patch-For-Review.