Last modified: 2014-05-14 20:03:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67304, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65304 - Is it possible to set up VisualEditor on other skins instead of Vector skin?
Is it possible to set up VisualEditor on other skins instead of Vector skin?
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-14 19:44 UTC by Sean Chen
Modified: 2014-05-14 20:03 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sean Chen 2014-05-14 19:44:36 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
Comment 1 Roan Kattouw 2014-05-14 19:52:41 UTC
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.
Comment 2 Alex Monk 2014-05-14 20:02:02 UTC
Kind of relevant to this are my (WIP) notes on what VE expects of a skin, which you can find at bug 61500.
Comment 3 Alex Monk 2014-05-14 20:03:43 UTC
Also because this is for support, not an actual software issue, I have set it to resolved invalid.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links