Extension:VisualEditor/Skin requirements

VisualEditor's MediaWiki extension is mainly designed to work with the Vector, Monobook and Minerva skins, given the initial intent to work for the Wikimedia production site. However, it should be relatively easy to ensure your skin works with VisualEditor, especially if it is Vector-based.

Requirements
VisualEditor looks for the following element IDs to interact with:



Additionally, it assumes a number of points about skin behaviour:

Finally, you will need to add your skin to the  global array variable through your   file (otherwise it will just mysteriously never load).
 * If MediaWiki gives you a site notice, put it in an element with
 * If MediaWiki gives you a site ‘sub’ (subtitle? It’s the tagline thing under each page name), put it in an element with
 * The IDs of navigation links should begin with “ ”.
 * The IDs of personal toolbar links need to begin with “ ”.
 * The IDs of stuff in the toolbar need to begin with “ ”.If your skin has closely linked namespace/talk tabs with actions (edit, history), etc. put them all in . Otherwise, the actions should be inside a.

Future
In future, we will probably generalise VisualEditor's MediaWiki extension to be pluggable into new skins. Suggestions as to how best to do this efficiently are welcome.