[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Daniel Friesen mediawiki-b...@nadir-seen-fire.com changed: What|Removed |Added CC||mediawiki-bugs@nadir-seen-f ||ire.com --- Comment #11 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 2011-10-09 01:45:46 UTC --- HTTP Headers don't apply when the html doc has been saved to a machine. When that happens the meta tag IS used to determine the charset, and if it's located after the title than any UTF-8 in it breaks. I've had that issue before myself when building things. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Dan Collins en.wp.s...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||en.wp.s...@gmail.com Resolution||WONTFIX --- Comment #10 from Dan Collins en.wp.s...@gmail.com 2011-07-09 21:37:12 UTC --- Wontfixing per Bawolff. The current configuration in trunk appears to be correct, as attested by test.wikipedia.org, where the meta tag is the first element within the head element. This is not true on en.wikipedia because $wgHtml5 != true, however the UTF-8 tag is the second element, only after title, and of course HTTP headers take precedence before then. There is never a situation where we are unable to specify UTF-8 encoding 'in time'. As the original commentor has not amended this post for four months, I'm closing this wontfix, with the hope that if there is still an issue with the meta element being too late where the $wgHtml5 != true, then a new bug can be opened with an example of the problem. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Ashar Voultoiz has...@free.fr changed: What|Removed |Added CC||has...@free.fr --- Comment #1 from Ashar Voultoiz has...@free.fr 2011-03-04 12:17:16 UTC --- Do you mean placing meta tags before the title one? -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Ashar Voultoiz has...@free.fr changed: What|Removed |Added Severity|enhancement |minor --- Comment #2 from Ashar Voultoiz has...@free.fr 2011-03-04 12:17:37 UTC --- raising importance since it seems to be a bug. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 --- Comment #3 from Frozen-mikan ja.frozen.mi...@gmail.com 2011-03-04 13:43:33 UTC --- (In reply to comment #1) Do you mean placing meta tags before the title one? Yes. This happens as a result. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Krinkle krinklem...@gmail.com changed: What|Removed |Added CC||krinklem...@gmail.com Severity|minor |normal --- Comment #4 from Krinkle krinklem...@gmail.com 2011-03-04 14:27:42 UTC --- As of 1.17 meta tags are the top-most in the head (above any link and script), except for title which is still the first one. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added CC||m...@everybody.org --- Comment #5 from Mark A. Hershberger m...@everybody.org 2011-03-04 17:34:09 UTC --- Just trying to clarify since I'm a little confused: Frozen-mikan, you want the title tag moved below the meta tags? -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 Bawolff bawolff...@gmail.com changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #6 from Bawolff bawolff...@gmail.com 2011-03-04 18:23:26 UTC --- Umm, why does this matter? meta charset=utf-8 tags should be ignored by browsers because the http headers take precedence. (Or at least that was the impression I had). So it shouldn't matter how close to the beginning of the document they are. If for some weird reason the charset wasn't specified by the HTTP header, it will still work, it will just take slightly longer to determine the charset (probably its not significant enough to care). (the position of the other meta tags don't really matter) -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 --- Comment #7 from Frozen-mikan ja.frozen.mi...@gmail.com 2011-03-05 03:05:25 UTC --- I should look more carefully. I found the following sentences. Please refer to. 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. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=27843 --- Comment #8 from Frozen-mikan ja.frozen.mi...@gmail.com 2011-03-05 03:08:51 UTC --- I'm sorry. This is a repost. I should look more carefully. I found the following sentences. Please refer to. 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. -- 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
[Bug 27843] Meta tags are better placed first in the head tag.
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