Wikimedia

VisualEditor: Make language name for a code block case-insensitive

This task is about VisualEditor. See its user guide for general information. (You will need to make a patch for the SyntaxHighlight extension.)

When editing a code block in VisualEditor where the language name is set in upper case, it 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. Instead, language names should be case-insensitive.

You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.

Task tags

  • mediawiki
  • visualeditor
  • javascript

Students who completed this task

Jan Rosa

Task type

  • code Code
close

2018