Thread:Extension talk:WYSIWYG/Fatal error: Call to undefined method MediaWiki::getVal() in CKeditor.body.php (MW 1.23.3 + WYSIWYG 1.7.0)

Hi,

I have upgraded a Mediawiki instance from 1.14.0 to 1.23.3 and activated WYSIWYG, but I get

Fatal error: Call to undefined method MediaWiki::getVal in /usr/local/apache2/htdocs/Test/extensions/WYSIWYG/WYSIWYG/CKeditor.body.php on line 175

when attempting to edit.

The extensions are downloaded and updated with git:

WYSIWYG extension ChangeLog

=
==============

VERSION 1.7.0

I have made the following modification to CKeditor.body.php:

Line 90 : //$text = $parser->strip($text, $stripState); $text = $parser->replaceVariables($text);

The problematic line is line 174 in the original file:

$action = $mediaWiki->getVal('Action');

Localsettings.php:

require_once("$IP/extensions/WYSIWYG/WYSIWYG/WYSIWYG.php"); $wgGroupPermissions['*']['wysiwyg'] = true;//Everyone can use (if can edit)... $wgDefaultUserOptions['cke_show'] = 'richeditor';//Enable CKEditor $wgDefaultUserOptions['riched_use_toggle'] = true;//Editor can toggle between CKEditor/WikiTextBox $wgDefaultUserOptions['riched_start_disabled'] = false;//Important!!! else bug... $wgDefaultUserOptions['riched_toggle_remember_state'] = true;//working/bug?) $wgDefaultUserOptions['riched_use_popup'] = false;//Deprecated  ##These are not compatible with WYSIWYG  $wgFCKEditorExcludedNamespaces[] = NS_MEDIAWIKI;  $wgFCKEditorExcludedNamespaces[] = NS_TEMPLATE;

Any ideas on how to get this working ?