I have an old skin that I need to adapt to the new MediaWiki 1.18 which has this new WikiEditor. If I set the skin to Simple
or any other theme than the custom theme, then I see the WYSIWYG editor (WikiEditor), but if I use a custom skin I don't see it.
I think I'm missing something, I've wasted half a work day trying to figure what am I missing but the skin seems to be just like the other skins. I checked MediaWiki homepage but they don't tell what do I need to do to get this WikiEditor to load.
To confirm: the WikiEditor source codes are never loaded, i.e. the ResourceLoader does not load them, but I do not know how to make it load.
From Extension:WikiEditor:
For 1.18 and later the extension already comes with your MediaWiki package.
You only need to install and configure it as described below:
Add the following line to your LocalSettings.php:
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
To enable use of WikiEditor by default but still allow users to disable it in preferences, use something like...
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With