Mlink-rodrigue (talk | contribs)
m (username removed) (log details removed)
Mlink-rodrigue (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BSExtensionInfobox
{{BSExtensionInfo
|removed=No
|removed=No
|desc=Syntax highlighting in the wikitext editor.
|desc=Syntax highlighting in the wikitext editor.
Line 12: Line 12:
|features=The extension '''CodeMirror'''  provides syntax highlighting in MediaWiki's wikitext editor. It adds an icon to the options menu of VisualEditor where it can be deactivated on a per-page basis.
|features=The extension '''CodeMirror'''  provides syntax highlighting in MediaWiki's wikitext editor. It adds an icon to the options menu of VisualEditor where it can be deactivated on a per-page basis.


[[File:deactivate_CodeMirror.png{{!}}alt=deactivate CodeMirror{{!}}center{{!}}thumb{{!}}650x650px{{!}}deactivate CodeMirror]]
[[File:deactivate_CodeMirror.png{{!}}alt=Open page actions menu of VisualEditor with Syntax highlighting action{{!}}center{{!}}thumb{{!}}450x450px{{!}}deactivate CodeMirror]]
}}
{{wcagCheck
|wcagStatus=2-testing complete
|wcagCheckedfor=Authoring tool
|wcagTestdate=2022-08-08
|wcagLevel=AA
|wcagSupport=supports
|wcagWorkaround=No
|wcagComments=Tested by original developpers for AA support:
 
https://meta.wikimedia.org/wiki/WMDE_Technical_Wishes/Improved_Color_Scheme_of_Syntax_Highlighting
 
Could be completely deactivated in on-premise installation.
|extensionType=core
|extensionFocus=editor
}}
}}
neo
Line 1: Line 1:
{}
{
    "mainSubject": "sF1VC48Zr5Ro4HH",
    "subjects": {
        "sF1VC48Zr5Ro4HH": {
            "schema": "Extension info",
            "statements": {
                "Edition": {
                    "propertyType": "select",
                    "value": [
                        "Glacier",
                        "Sky",
                        "Sapphire"
                    ]
                },
                "Description": {
                    "propertyType": "text",
                    "value": [
                        "Syntax highlighting in the wikitext editor"
                    ]
                },
                "Maintainer": {
                    "propertyType": "text",
                    "value": [
                        "MW"
                    ]
                },
                "License": {
                    "propertyType": "select",
                    "value": [
                        "GPL 2+"
                    ]
                }
            }
        }
    }
}

Latest revision as of 09:18, 6 November 2026

all extensions

Overview
Description:

Syntax highlighting in the wikitext editor

State: stable Dependency: MediaWiki
Developer: Pavel Astakhov License:
Type: MediaWiki Category: Editor
Edition: Glacier, Sky, Sapphire Version: 1.1+
For more info, visit Mediawiki.

Features

The extension CodeMirror provides syntax highlighting in MediaWiki's wikitext editor. It adds an icon to the options menu of VisualEditor where it can be deactivated on a per-page basis.

Open page actions menu of VisualEditor with Syntax highlighting action
deactivate CodeMirror