Topic on Extension talk:VisualEditor

How to enable the 2017 wikitext editor on a wiki (cross posted)

5
Summary by Aron Manning

In Preferences / Beta features on the wiki you want it enabled at, check ✓ New wikitext mode.

[Special:Preferences#mw-prefsection-betafeatures] on the current wiki.

[en:Special:Preferences#mw-prefsection-betafeatures] on enwiki.

Kghbln (talkcontribs)

How do I activate the so called "2017 wikitext editor" feature?

TerraCodes (talkcontribs)

At Special:Preferences#mw-prefsection-betafeatures on the wiki you want it enabled at.

Kghbln (talkcontribs)

Thanks for you reply, but this is about activating it on a wiki providing this mode. However I do not know what to set or even install to get there. Is there a configuration parameter, a software dependency (probably BetaFeatures?), etc. ... I am asking since I did not find the docu.

Jdforrester (WMF) (talkcontribs)

Hi there,

If you want all users to have the 2017 wikitext editor available as a beta feature, install the BetaFeatures extension and add the following to your LocalSettings.php:

$wgVisualEditorEnableWikitext = true;

If you want all users to have the 2017 wikitext editor all the time, add the following to your LocalSettings.php:

$wgVisualEditorEnableWikitext = true;
$wgDefaultUserOptions['visualeditor-newwikitext'] = 1;
$wgHiddenPrefs[] = 'visualeditor-newwikitext';

There's not currently a proper preference for this, as we were waiting for the run of the beta feature before moving ahead with that, so it's not possible to configure it to be on by default but removable, sorry.

Kghbln (talkcontribs)

Thanks for the info. This helps. Also found out in the meantime that installing the CodeMirror extension allows for wikitext syntaxhighlighting. Will document both on the extensions docu soon.