Dorem - Jérémie Bouillon wrote:
Help me Obi, you're my last hope ^^
I got a strange thing, and can't find why.
I got no xmlns attribute anymore on my regular pages (1.16.4, Vector, no source hacking).
My HTML sources start as :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="fr" dir="ltr"> <head>
$wgXhtmlDefaultNamespace is correctly defined, I even try to add it a second time in LocalSettings.php, no effect.
And I can't remember when was the last time xmlns was there (been working for 2 days on my MW install, and didn't check closely that part of the rendered source before having some strange CSS issues and needed to validate the html).
Checked bugzilla, Google, doesn't seem to be a common occurrence. So I'm guessing I broke something somewhere, but I don't know where to start :-(
You seem to be using $wgHtml5 with $wgWellFormedXml $wgHtml5 = false; should give you back all to full XHTML.