User talk:Danny B./Archive/2008

Latest comment: 16 years ago by Mxn in topic XHTML 1.0 and lang

interwiki request

edit

You have a query from November on the Talk:interwiki map page that needs your attention. ++Lar: t/c 18:01, 28 February 2008 (UTC)Reply

XHTML 1.0 and lang

edit

Hi Danny, I'm curious about the latest change you made to Www.wikipedia.org template/temp. I realize that legacy browsers don't support the xml:lang attribute, which is why a redundant lang attribute is typically recommended. But we introduced language metadata to that page so that browsers can use the right fonts for each language. Do you happen to know if any legacy browser will render the page differently based on the lang attribute's presence? Screen readers, perhaps? If so, I can convert the page to HTML 4.01 Strict. My point in removing the lang attribute was simply to reduce the page's file size. – Minh Nguyễn (talk, contribs) 17:58, 27 October 2008 (UTC)Reply

I'm actually working on brand new code of all www pages, which will be much more semantically correct and much more accessible, as well as the code should be shorter even with keeping both lang and xml:lang. I also think all WMF pages should use the same DTD (or maybe rather "language"), thus XHTML 1.0 (either Strict or Transitional).
Danny B. 19:49, 27 October 2008 (UTC)Reply
Cool. Please be sure to test the code on a variety of browsers. I use a Mac, so I can help with any testing you need there.
Also, do you happen to know of any Web-based HTML minifiers (ones that remove whitespace and comments)? Ideally, we could have Www.wikipedia.org template contain just the minified code, and Www.wikipedia.org template/temp contain the original, neatly-formatted code. Then, we could have sysops run the temp code through the Web-based minifier whenever they need to update the live portal. If I can't find one, I'll look into writing one.
 – Minh Nguyễn (talk, contribs) 00:42, 28 October 2008 (UTC)Reply

Sure, I have 13 browsers installed and some of them in couple different versions. Mac testing is welcome though.

Re minifying: I am not convinced it's the best idea as well as it's really necessary. Especially when it would cause another work to sysops.

Danny B. 14:44, 31 October 2008 (UTC)Reply

Right, that's why I'm looking for a solution where you just need to copy-paste into a textbox, press a button, and you'll get the minified results. It's not essential, especially if your new code is much shorter. – Minh Nguyễn (talk, contribs) 21:33, 31 October 2008 (UTC)Reply
Return to the user page of "Danny B./Archive/2008".