Topic on Extension talk:WYSIWYG

WYSIWYG 1.5.6_0 [B551+29.11.2015] is having problems on mediawiki 1.26.x (fixed in 1.5.6_0 [B551+26.03.2016])

10
Darthwonka (talkcontribs)

editor will save garbage and cannot switch back and forth to source editor or standard editor.

Riparap (talkcontribs)

They have changed bunch of variables etc. from public to private in MW1.26 and I suspect these may now be causing problems with WYSIWYG extension, see also this.

Riparap (talkcontribs)

Could it be that the main reason to problems of wysiwyg with MW 1.26.x is this:

BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following a lengthy deprecation period (see details ). There seems to be ajax related calls in programs of wysiwyg. If this is the problem, does anybody have any idea how this could be fixed? .... this page has some related information. Or am I on wrong tracks here?

Riparap (talkcontribs)
Riparap (talkcontribs)

''Version 1.5.6_0 [B551+22.02.2016]'' of wysiwyg, available at this moment in branch wysiwyg_mw126, has been modified in order to make it work with MW1.26.xx, all basic functions should work now.

There is still at least one rather big issue related to asyncronous loading of javascripts in MW1.2.6.xx which may cause wysiwyg fail when page is opened for editing. Branch wysiwyg_mw126 has temporary workaround for this: variable $wgFCKEditor_delay_addonloadhook of LocalSettings.php can be used to define delay before init script of wysiwyg is run when page is loaded in editor. This may or may not help with this issue.

Can anybody give short instructions or main steps how resource loader of mediawiki could be used in order to fix this issue properly?

Riparap (talkcontribs)

When trying to load javascripts of WYSIWYG and CKeditor using resourceloader, the issue with CKeditor is with location of files. It seems that I can not make resourceloader aware of location of files of CKeditor. Browser thinks that files should be directly under MW installation directory, when they in reality are in directory extensions/WYSIWYG/ckeditor.

This kind of errors are displayed:

"404 Not Found - http://192.168.20.97/mediawiki/skins/kama/editor.css?t=F969" 
"404 Not Found - http://192.168.20.97/mediawiki/plugins/mwtemplate/images/icon_template.gif?t=F969"

Any ideas how this can be fixed?

Riparap (talkcontribs)

This is caused by resourceloader which runs CKeditor of WYSIWYG in "own" environment which for some reason can't pass installation directory information (=path of extension) to Ckeditor properly. After I added variable CKEDITOR_BASEPATH with proper path for CKeditor, it started to work without problems with resourceloader.

Branch wysiwyg_mw126_rsl contains latest modification for wysiwyg using MW1.26 and resourceloader (Version 1.5.6_0 [B551++27.03.2016]).

125.99.104.118 (talkcontribs)

I have add the new version still category issue persist

do we need to make any changes in Lovation.php file

Riparap (talkcontribs)

Please tell me what is the wysiwyg related version info string visible in About tab of CKEditor in your installation? ....I do not mean version of CKeditor, I mean version of WYSIWYG.

Real struggle (talkcontribs)

I would love to post the question that I have put on my user page, but this site keeps calling me a spam bot :(

Reply to "WYSIWYG 1.5.6_0 [B551+29.11.2015] is having problems on mediawiki 1.26.x (fixed in 1.5.6_0 [B551+26.03.2016])"