Thread:Project:Support desk/Viewing the parsoid page/reply (2)

Actually, I just realized that I did not properly configure VisualEditor. Now, I after updating LocalSettings.php with the lines required for Visual Editor :

require_once "$IP/extensions/VisualEditor/VisualEditor.php";

// Enable by default for everybody

$wgDefaultUserOptions['visualeditor-enable'] = 1;

// Don't allow users to disable it

$wgHiddenPrefs[] = 'visualeditor-enable';

// OPTIONAL: Enable VisualEditor's experimental code features

$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;

I ran the php update script. However, I get the error below. How do I troubleshoot this?

[aigini_agss@pocaamy-nagios mediawiki]$ sudo php maintenance/update.php

[7c2bbe90] [no req]  MWException from line 3215 of /home/webteam/mediawiki/includes/GlobalFunctions.php: MediaWiki 1.26wmf12 required--this is only 1.25.1

Backtrace:


 * 1) 0 /home/webteam/mediawiki/extensions/VisualEditor/VisualEditor.hooks.php(20): wfUseMW(string)


 * 1) 1 [internal function]: VisualEditorHooks::onSetup


 * 1) 2 /home/webteam/mediawiki/includes/Setup.php(678): call_user_func(string)


 * 1) 3 /home/webteam/mediawiki/maintenance/doMaintenance.php(97): require_once(string)


 * 1) 4 /home/webteam/mediawiki/maintenance/update.php(216): require_once(string)


 * 1) 5 {main}

[aigini_agss@pocaamy-nagios mediawiki]$