![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 8 | Archive 9 | Archive 10 | Archive 11 | Archive 12 | Archive 13 |
Usually, MS IE versions 6 and 7 cannot visualize the complementary IPA signs correctly. The solution would be adding the string "lang=en" to the template. See: http://www.ibloomstudios.com/articles/the_ie7_css_hack/ -- TheMexican ( talk) 14:24, 1 October 2007 (UTC)
Well, normal simple signs will appear always correctly if you have Arial Unicode MS or Lucida Sans Unicode font installed. But try to put an IPA sign with a complementary (joint) character, like the sign for "bilabial approximant", and it will show a "beta" with an empty square (just see the table in the IPA article, there should not be empty squares). We tried the same in the Hungarian Wikipedia and it works perfectly if you complete the template with the string I suggested. -- TheMexican ( talk) 20:28, 1 October 2007 (UTC)
Let me see:
Look at also this test page, there is no squares: hu:User:El Mexicano/Teszt -- TheMexican ( talk) 21:01, 1 October 2007 (UTC)
.IPA { font-family: foo, bar, baz; font-family /**/:inherit; }
.IPA { /* IE only ( http://www.ibloomstudios.com/articles/the_ie7_css_hack/ ) */ font-family: foo, bar, baz; } .IPA:lang(en) { font-family: inherit; } .IPA:empty { /* Safari */ font-family: inherit; )
Cool, so an admin should make these changes to the IPA class and there'll be no problem in IE either. :) Regards, -- TheMexican ( talk) 06:22, 2 October 2007 (UTC)
It's the only reliable IE7 CSS hack though, and the lang attribute isn't used by anything. Usability should come before semantic correctness IMO. -- Tgr 10:56, 2 October 2007 (UTC)
Or the .IPA rule could be moved from Common.css to the IE-specific stylesheets which are served in conditional comments, but I'm not sure all skins use them. -- Tgr 11:09, 2 October 2007 (UTC)
Something like this should work:
if(navigator.userAgent.indexOf("MSIE") != -1 && document.createStyleSheet) {
document.createStyleSheet().addRule('.IPA', 'font-family: foo, bar, baz;');
}
-- Tgr 08:33, 3 October 2007 (UTC)
Well, guys, whatever the solution is, while I'm seeing any empty squares in the
IPA article even in my IE7 with all the unicode font sets and extra features installed, there must be something wrong. Of course we are here to help you solving the problem and not just for disturbing or forcing you to change something. Thank you for your understanding and positive collaboration. --
TheMexican (
talk)
17:57, 3 October 2007 (UTC)
Anyone still here? Compared to the outcry over a few disabled people maybe not being able to listen to IPA markups, you are taking the fact that daily a million or so IE 7 users can't read them rather calmly :-) -- Tgr 09:51, 4 October 2007 (UTC)
.IPA:lang(en)
and .IPA:empty
been tested in other browsers and versions? It looks like this hack depends on a bug in Safari—is that bug present in versions 1.0, 2.0 and the Safari 3.03 beta? This could further break things unpredictably in all kinds of browsers.Yes, the code you suggested putting into my monobook.js, works perfectly. It should be put into the common configuration file. -- TheMexican ( talk) 21:28, 5 October 2007 (UTC)
Should be in Common.js now. IE7 users with javascript turned off will still see boxes, but whatever. -- Tgr 07:29, 10 October 2007 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 8 | Archive 9 | Archive 10 | Archive 11 | Archive 12 | Archive 13 |
Usually, MS IE versions 6 and 7 cannot visualize the complementary IPA signs correctly. The solution would be adding the string "lang=en" to the template. See: http://www.ibloomstudios.com/articles/the_ie7_css_hack/ -- TheMexican ( talk) 14:24, 1 October 2007 (UTC)
Well, normal simple signs will appear always correctly if you have Arial Unicode MS or Lucida Sans Unicode font installed. But try to put an IPA sign with a complementary (joint) character, like the sign for "bilabial approximant", and it will show a "beta" with an empty square (just see the table in the IPA article, there should not be empty squares). We tried the same in the Hungarian Wikipedia and it works perfectly if you complete the template with the string I suggested. -- TheMexican ( talk) 20:28, 1 October 2007 (UTC)
Let me see:
Look at also this test page, there is no squares: hu:User:El Mexicano/Teszt -- TheMexican ( talk) 21:01, 1 October 2007 (UTC)
.IPA { font-family: foo, bar, baz; font-family /**/:inherit; }
.IPA { /* IE only ( http://www.ibloomstudios.com/articles/the_ie7_css_hack/ ) */ font-family: foo, bar, baz; } .IPA:lang(en) { font-family: inherit; } .IPA:empty { /* Safari */ font-family: inherit; )
Cool, so an admin should make these changes to the IPA class and there'll be no problem in IE either. :) Regards, -- TheMexican ( talk) 06:22, 2 October 2007 (UTC)
It's the only reliable IE7 CSS hack though, and the lang attribute isn't used by anything. Usability should come before semantic correctness IMO. -- Tgr 10:56, 2 October 2007 (UTC)
Or the .IPA rule could be moved from Common.css to the IE-specific stylesheets which are served in conditional comments, but I'm not sure all skins use them. -- Tgr 11:09, 2 October 2007 (UTC)
Something like this should work:
if(navigator.userAgent.indexOf("MSIE") != -1 && document.createStyleSheet) {
document.createStyleSheet().addRule('.IPA', 'font-family: foo, bar, baz;');
}
-- Tgr 08:33, 3 October 2007 (UTC)
Well, guys, whatever the solution is, while I'm seeing any empty squares in the
IPA article even in my IE7 with all the unicode font sets and extra features installed, there must be something wrong. Of course we are here to help you solving the problem and not just for disturbing or forcing you to change something. Thank you for your understanding and positive collaboration. --
TheMexican (
talk)
17:57, 3 October 2007 (UTC)
Anyone still here? Compared to the outcry over a few disabled people maybe not being able to listen to IPA markups, you are taking the fact that daily a million or so IE 7 users can't read them rather calmly :-) -- Tgr 09:51, 4 October 2007 (UTC)
.IPA:lang(en)
and .IPA:empty
been tested in other browsers and versions? It looks like this hack depends on a bug in Safari—is that bug present in versions 1.0, 2.0 and the Safari 3.03 beta? This could further break things unpredictably in all kinds of browsers.Yes, the code you suggested putting into my monobook.js, works perfectly. It should be put into the common configuration file. -- TheMexican ( talk) 21:28, 5 October 2007 (UTC)
Should be in Common.js now. IE7 users with javascript turned off will still see boxes, but whatever. -- Tgr 07:29, 10 October 2007 (UTC)