https://bugzilla.wikimedia.org/show_bug.cgi?id=27843

--- Comment #9 from Bawolff <bawolff...@gmail.com> 2011-03-05 04:16:32 UTC ---
I was just checking to see if this was something that would be trivial to do or
not, and it appears to already be done.(for the meta charset tags, the other
meta tags there really is no point, unless for maybe something like
x-ua-compatible, but we don't send that)


(In reply to comment #8)
[..]
> ----
> http://www.w3.org/TR/1999/REC-html401-19991224/charset.html
> 5.2.2 Specifying the character encoding
> 
> The META declaration must only be used when the character encoding is 
> organized
> such that ASCII-valued bytes stand for ASCII characters (at least until the
> META element is parsed). META declarations should appear as early as possible
> in the HEAD element.
> ----

The html5 spec is probably better for what happens in practise (
http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding
), however both say that the http headers take precedence.

But anyways, back to the point. The meta tag is first in the head if we're in
html5 mode ($wgHtml5=true) (which isn't true on wikipedia, but take a look at
http://test.wikipedia.org which does have it true)

Do the placement of meta tags on the test.wikipedia.org match your
expectations? If so I'd recommend wontfixing this because its mostly a cosmetic
change (as far as i am aware, meta charset tags are ignored if an http
content-type header is specified, which is it for 'pedia) and we're going to be
switching to html5 mode sooner or later.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to