Topic on Project:Support desk

Cgol38 (talkcontribs)

Hi,

I'm trying to get the WikiEditor (version 0.5.0) to work.  The extension shows up in Special:Version, but the editor does not show up when editing a page.

I have the following MediaWiki configuration:

MediaWiki   1.26.2

PHP     7.0.0 (cgi-fcgi)

MySQL     5.7.10-log

Server Windows Server 2008 R2 SP1 with IIS 7.5

I have followed the instructions online at https://www.mediawiki.org/wiki/Extension:WikiEditor to install the WikiEditor. I have cleared the browser cache and added the mime type for svg in IIS.

I  added the following to the bottom of the LocalSettings.php:

$wgDefaultUserOptions['usebetatoolbar'] = 1;

$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

$wgDefaultUserOptions['wikieditor-preview'] = 1;

$wgDefaultUserOptions['wikieditor-publish'] = 1;

However, the WikiEditor is still not showing when editing a page.

Any advice would be much appreciated!

Thank You

Ciencia Al Poder (talkcontribs)

That's usually caused by a JavaScript error. Hit F12 in your browser, reload the page and see if there's any error showing up in the console.

Cgol38 (talkcontribs)

Hi,

I looked at the error console in Firebug in Firefox, and I get this error:

Internal error

Internal error

Problematic modules: {"startup":"error"}

load.php?debug=false&lang=en&modules=startup&only=scripts&skin=monobook()load.ph...onobook (line 8)

...e.error) {console.error("Internal error\n\nInternal error\n\nProblematic modules...

Any ideas as to what is causing this error and how to fix it?

Thank You

Ciencia Al Poder (talkcontribs)
Cgol38 (talkcontribs)

Hi,

In the LocalSettings.php, I uncommented $wgCacheDirectory = "$IP/cache" and the WikiEditor shows up.

However, when I enable wincache the WikiEditor does not appear. If I disable wincache, the WikiEditor shows up.

I get the following error message when wincache is enabled:

Warning: wincache_ucache_cas() expects parameter 2 to be integer, string given in D:\inetpub\wwwroot\mediawiki\includes\libs\objectcache\WinCacheBagOStuff.php on line 52

Is there some other configuration needed to get the WikiEditor to show when using wincache?

Thank You

Ciencia Al Poder (talkcontribs)