User talk:Danny B./Archive/2008
The following discussions have been closed therefore please do not contribute here anymore. However, if you still need to open any of these topics, please start a new thread on main talk page. Thanks for your cooperation.
Progress of discussions before archiving can be found in the history of the main talk page.
- 2006 (relevant history)
- 2007 (relevant history)
- 2008 (relevant history)
- 2009 (relevant history)
- 2010 (relevant history)
- 2011 (relevant history)
- 2012 (relevant history)
- 2013 (relevant history)
- 2014 (relevant history)
- 2015 (relevant history)
- 2016 (relevant history)
- 2017 (relevant history)
- 2018 (relevant history)
- 2019 (relevant history)
- 2020 (relevant history)
- 2022 (relevant history)
interwiki request
editYou have a query from November on the Talk:interwiki map page that needs your attention. ++Lar: t/c 18:01, 28 February 2008 (UTC)
XHTML 1.0 and lang
editHi 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)
- 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
andxml: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)
- 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.
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)
- 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)