Thanks all for suggestions.
I found out where the error occurred: I look in my skin file (ie Modern.php) and i remove this lines of code
"<?php if($this->data['jsvarurl' ]) { ?> <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl' ) ?>"><!-- site js --></script> <?php } ?>"
The error is gone and my wiki is still up and ok.
Thank you all!
Pe 06.12.2009 13:04, mediawiki-l-request@lists.wikimedia.org a scris:
George Alexandru Dud?u wrote:
Hi,
I'am running MediaWiki 1.15.1 and i have a strange problem in browsers Firefox and IE7 and 8.
URI: index.php?title=-&action=raw&gen=js&useskin=monobook
Line 1 is<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
All page is render ok, but the messege in IE is disturbing.
The page index.php?title=-&action=raw&gen=js&useskin=monobook shouldn't begin like that (html) but be javascript code.
Which page content is there?
In a test server ai install mediawiki from svn but same problem. In version 1.16 i don't have this error, but my custom skin have a lot problems.
Thank you, Geo