jenkins-bot has submitted this change and it was merged. Change subject: Get rid of NS_VISUALEDITOR & make VE user-toggleable ......................................................................
Get rid of NS_VISUALEDITOR & make VE user-toggleable Change-Id: I80c235a1be92bf26fc73f2a54c1639395eae3dbb --- M puppet/templates/ve-config.php.erb 1 file changed, 1 insertion(+), 10 deletions(-) Approvals: Ori.livneh: Looks good to me, approved jenkins-bot: Verified diff --git a/puppet/templates/ve-config.php.erb b/puppet/templates/ve-config.php.erb index ed6a817..bda60ac 100644 --- a/puppet/templates/ve-config.php.erb +++ b/puppet/templates/ve-config.php.erb @@ -1,13 +1,4 @@ // http://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_setup_instructions - -define( 'NS_VISUALEDITOR', 2500 ); -define( 'NS_VISUALEDITOR_TALK', 2501 ); -$wgExtraNamespaces[NS_VISUALEDITOR] = 'VisualEditor'; -$wgExtraNamespaces[NS_VISUALEDITOR_TALK] = 'VisualEditor_talk'; - -$wgVisualEditorNamespaces = array( NS_MAIN, NS_USER, NS_VISUALEDITOR ); - +$wgVisualEditorNamespaces = array( NS_MAIN ); $wgDefaultUserOptions['visualeditor-enable'] = 1; -$wgHiddenPrefs[] = 'visualeditor-enable'; - $wgVisualEditorParsoidURL = 'http://localhost:<%= scope.lookupvar("mediawiki::parsoid::port") %>'; -- To view, visit https://gerrit.wikimedia.org/r/70799 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I80c235a1be92bf26fc73f2a54c1639395eae3dbb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vagrant Gerrit-Branch: master Gerrit-Owner: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits