One of our web developers says the page is having problems displaying in Internet Explorer (not sure which versions) and has suggested it is the “STRICT” setting in there that is causing the problem.
You appear to be running MediaWiki. Therefore you need to edit your configuration to change the value of the $wgDocType variable. Exactly how you do this is highly dependent on your particular installation.
Works just fine in IE 8. If your developer is using IE 7, that’s a problem because 7 was a crap IE browser to begin with.
Don’t write code using IE. Historically IE does not follow web standards so it often vomited, especially with the strict setting. IE 8 is a bit more stable.
Use Firefox, Opera or Chrome. Once you are assured is built to web standards (meaning it should work in the better Tier 1 browsers), then tackle any IE issues.
Yes, it’s part of LocalSettings. However, without further information from you we can’t tell you exactly where you find LocalSettings or how to edit it, because this depends on where you installed MediaWiki, and on how you navigate there and launch an editor in your web server’s operating system.
There was no $wgDocType setting at all in the LocalSettings file. When I added it nothing changed (although perhaps I got the syntax wrong).
I definitely have the right file. I edit it on a semi-regular basis as I add extensions and stuff.
I ran a validate on XHTML (WC3 website has it) and used the verbose setting and it told me it was reading a <!DOCTYPE !> which specified the strict setting. Things is when I do a text search on every file in the Wiki it says there is no such string.
I host the site elsewhere and am guessing it is coming from their server. I contacted tech support there and they said they only help with this sort of problem if we have a fully managed (read lots more expensive) account. :rolleyes:
What was not very apparent was I had to set html5 to be false to make the other doctype settings stick. It was mentioned upthread but I figured no setting meant it’d default to false (there was no $wgHtml5 setting listed at all). I dunno…all I know is that worked. I put the following in my LocalSettings file which did the trick:
/** The HTML document type. */
$wgHtml5 = false;
$wgDocType = ‘-//W3C//DTD XHTML 1.0 Transitional//EN’;