Topic on Extension talk:TinyMCE

Jump to navigation Jump to search

WikiEditor menu displays with TinyMCE menu

Summary by DuncanCrane

Great that resolved the problem

Sgrìobhairear (talkcontribs)

A few things are happening with this on MW1.31 (which were also present in 1.30). I have added the patch in WikiEditor.hooks.php although line 75 doesn't look like the patch link, line 171 does.

Issues seem to be intermittent with not being able to save edits, existing text not showing in editor and both edit bars appearing on the page. The last one varies, sometimes they are stacked on top of each other, sometimes the WikiEditor bar appears at the bottom of the edit window. I want to still have the WikiEditor for editing source.

Any pointers on what could be causing these errors?I've tried changing themes, shutting off the category picker (Extension:MsCatSelect) and it still persists.

DuncanCrane (talkcontribs)

Hi there

Firstly, thank you for trying our extension and providing feedback. Secondly sorry it has taken me a few days to spot your comment.

I have just added the patch to the WikiEditor extension in Mediawiki 1.31 and it seems to work fine for me. I was a bit perplexed that you thought it should be line 171 and not 75 as the WikiEditor extension hasn't changed for a couple of years and when I updated the WikiEditorHooks.php file it looked the same as in the patch.

Is it possible you added the patch to TinyMCE.hooks.php which is part of the TinyMCE extension rather than WikiEditorHooks.php which is in the 'includes' directory of the WikiEditor extension?


Sgrìobhairear (talkcontribs)

WELP. YES. That was exactly it, thank you so much!