Topic on Template talk:Main page

Mediawiki WYSIWYG Skin IE9 problem

1
194.156.246.226 (talkcontribs)

hey,


ive got a little Problem :D.


Quick Infos: Mediawiki 1.17 WYSIWYG Extension


Everything works great with FF and IE10 - but there are many users with IE9.


1. We use Monobook as skin. When i try to open the editor the following happens:
http://s7.directupload.net/images/131212/idkg5no4.jpg

(which means "not enough storage") And the editor doesnt appear


2. I googled and found some links:

http://krasimirtsonev.com/blog/article/CKEditor-Not-enough-storage-is-available-to-complete-this-operation

He says thats cause IE can only do 31 times "createStyleSheet" and offers a workaround.

3. If i change the line in document.js in WYSIWYG\ckeditor\_source\core\dom

from

appendStyleSheet : function( cssFileUrl )

{
if ( this.$.createStyleSheet )
this.$.createStyleSheet( cssFileUrl );
else
{
var link = new CKEDITOR.dom.element( 'link' );
link.setAttributes(
{ rel :'stylesheet',
type : 'text/css',
href : cssFileUrl
});

this.getHead().append( link );
}


to
appendStyleSheet : function( cssFileUrl )
{
if ( false )
this.$.createStyleSheet( cssFileUrl );
else
{
var link = new CKEDITOR.dom.element( 'link' );
link.setAttributes(
{
rel :'stylesheet',
type : 'text/css',
href : cssFileUrl
});

this.getHead().append( link );
}

it looks like this:


http://s7.directupload.net/images/131212/b2hn5a97.jpg

Doesnt work too :D. But i have no idea what the else-block exactly do and about the whole thing with php, js and css :D


4. I started with SMW+ (Datawiki), and there is a default skin "ontoskin3". With them everythin is cool - so i think this skin "fixes" the createstylesheet problems. But i cant figure out how - i analyzed the skins, and theyre very different - and im a nub in javascript and css.


I would be very very appreciated if someone could help me out here - i spend a lot of hours and im not able to get it working :D:

My Skin Direcory can be downloaded here: http://uploadboy.com/h12tvnuu6jn5.html


Regards,