In short: I am trying to understand the meaning of this TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' The error appears while lunching Mediawiki's VisualEditor, as can be seen here:
http://www.wiki.org.il/index.php?title=new-page&veaction=edit
The error doesn't enables creating new pages or editing the wiki anonymously. However, with the use of a different skin the error disappears:
http://www.wiki.org.il/index.php/Main_Page?useskin=vector
The wiki runs on 1.25alpha.
I had this same error showing. When I replaced jQuery selector with normal JavaScript, the error was fixed.
var this_id = $(this).attr('id');
Replace:
getComputedStyle( $('#'+this_id)[0], "")
With:
getComputedStyle( document.getElementById(this_id), "")