Last modified: 2014-05-14 20:03:43 UTC
hi, we are using MediaWiki for our intranet on Government of Ontario and we are amazed by the new and cool VisualEditor! And we want to set up VisualEditor while we upgrade our MediaWiki to version 1.23.x. However we need a customized skin instead of the default Vector skin. Is that possible to set up VisualEditor on a customized skin and how? thanks a lot, -Sean
You can try setting $wgVisualEditorSupportedSkins[] = 'nameofyourskin'; in your configuration. If your skin is a derivative of one of the supported skins (vector, apex, monobook, minerva), this should come pretty close to making things work, with only a few CSS issues remaining. You can fix the CSS problems by copying and tweaking ve.init.mw.ViewPageTarget-vector.css and -vector-hd.css (or another one if your skin isn't based on Vector). Right now our skin integration is still a bit sucky. ve.init.mw.ViewPageTarget-shared.css needs to be loaded for all skins but isn't right now; I'll fix that. You also need to add your skin styles into VisualEditor.php itself (search for skinStyles), which is ugly. We'll need to work on improving that. In the meantime, feel free to pop into our IRC channel (#mediawiki-visualeditor on freenode) for interactive help.
Kind of relevant to this are my (WIP) notes on what VE expects of a skin, which you can find at bug 61500.
Also because this is for support, not an actual software issue, I have set it to resolved invalid.