User:Teb728/temp
IPA
Vowels: ɨ
ʉ
ɯ
ɪ
ʏ
ʊ
ø
ɘ
ɵ
ɤ
ə
ɛ
œ
ɜ
ɞ
ʌ
ɔ
æ
ɐ
ɶ
ɑ
ɒ
ɚ
ɝ ···
Other: ˈ
ˌ
ː
.
Consonants: ʈ
ɖ
ɟ
ɢ
ʔ
ɱ
ɳ
ɲ
ŋ
ɴ
ʙ
ʀ
ɾ
ɽ
ɸ
β
θ
ð
ʃ
ʒ
ʂ
ʐ
ʝ
ɣ
χ
ʁ
ħ
ʕ
ɦ
ɬ
ɮ
ʋ
ɹ
ɻ
ɰ
ɭ
ʎ
ʟ
ʍ
ɥ
ʜ
ʢ
ʡ
ɕ
ʑ
ɺ
ɧ
ɡ
ɫ
AHD Lua error in Module:parameters at line 333: Parameter "sc" should be a valid script code; the value "Latnx" is not valid. See WT:LOS. ···
Hawaiian Ā ā Ē ē Ī ī Ō ō Ū ū ʻ obsolete or nonstandard characters (QQ), replace ' with ˈ, I with ɪ, N with ɴ and Q with ꞯ, invalid IPA characters ('"`UNIQ00000006QINU`"')
Old English Lua error in Module:parameters at line 333: Parameter "sc" should be a valid script code; the value "Latnx" is not valid. See WT:LOS.
Japanese Romaji: Ā ā Ē ē Ī ī Ō ō Ū ū Hiragana: ぁ あ ぃ い ぅ う ぇ え ぉ お か が き ぎ く ぐ け げ こ ご さ ざ し じ す ず せ ぜ そ ぞ た だ ち ぢ っ つ づ て で と ど な に ぬ ね の は ば ぱ ひ び ぴ ふ ぶ ぷ へ べ ぺ ほ ぼ ぽ ま み む め も ゃ や ゅ ゆ ょ よ ら り る れ ろ ゎ わ ゐ ゑ を ん ゔ ゛ ゜ ゝ ゞ Katakana: ァ ア ィ イ ゥ ウ ェ エ オ カ ガ キ ギ ク グ ケ ゲ コ ゴ サ ザ シ ジ ス ズ セ ゼ ソ ゾ タ ダ チ ヂ ッ ツ ヅ テ デ ト ド ナ ニ ヌ ネ ノ ハ バ パ ヒ ビ ピ フ ブ プ ヘ ベ ペ ホ ボ ポ マ ミ ム メ モ ャ ヤ ュ ユ ョ ヨ ラ リ ル レ ロ ヮ ワ ヰ ヱ ヲ ン ヴ ヵ ヶ ヷ ヸ ヹ ヺ ・ ー ヽ ヾ
Browser font issues
editMicrosoft Internet Explorer (IE) handles fonts differently from other browsers. When the current font does not have a specified character, IE shows an empty square. (This behavior is particularly troubling in the IPA region of Unicode, where the symbols ɨ ʉ ɯ ɪ ʏ ʊ ɘ ɵ ɤ ɛ ɜ ɞ ʌ ɔ ɐ ɶ ɑ ɒ ɚ ɝ ˈ ˌ ʈ ɖ ɟ ɢ ʔ ɱ ɳ ɲ ɴ ʙ ʀ ɾ ɽ ɸ ʃ ʒ ʂ ʐ ʝ ɣ ʁ ʕ ɦ ɬ ɮ ʋ ɹ ɻ ɰ ɭ ʎ ʟ ʍ ɥ ʜ ʢ ʡ ɕ ʑ ɺ ɧ ɡ ɫ are not supported by the default font of IE.)
Other browsers, in contrast, search the installed fonts for the needed character. If the browser finds the character in a font, it uses that font to display the character. Usually this results in an appropriate display. In some cases, however, the font it selects in this way may not be ideal for displaying the character. Also, this method of selecting a font may result in changing fonts in the middle of a word. And rarely a font may contain a wrong character: For example, the Verdana combining characters bug may display а́е instead of Template:RUchar on some browsers.
The fact that IE does not display such characters at all makes it important to specify to IE what fonts to use. Style declarations have been created which use a CSS filter to declare font-families for IE and only IE. Here is an example of such a style declaration. (See below for a technical explanation.)
.IPA { font-family: DejaVu Sans, Segoe UI, Lucida Grande, Lucida Sans Unicode, Charis SIL, Doulos SIL, Code2000, Gentium, Gentium Alternative, TITUS Cyberbit Basic, Arial Unicode MS; font-family /**/:inherit; }
History of font declarations in Wiktionary and Wikipedia
editAt first font declarations were placed in the template {{Unicode}}
. Some of the fonts, however, that give the best overall Unicode coverage do not cover all IPA symbols; so a separate {{IPA}}
template was created. Over time several other script templates have been created for other specialized code ranges.
Originally these templates contained their style declarations inline. On about October 2, 2005, however, the Mediawiki software was changed to no longer allow comments in inline style declarations (because they can be used for cross-site scripting attacks). See Wikimedia bug no. 3588. This change broke the CSS filter, which relies on a style comment. The experts at Wikipedia responded to this change by moving the style declarations from templates to Mediawiki:Common.css. (Inasmuch as the latter is not inline, it was not affected by the change.)
Moving the style declarations out of the templates has the additional advantage that it saves download length in template transclusions—sometimes several times per page. It also facilitates users declaring personal styles. On the other hand, moving to Common.css has the disadvantage that only sysops can edit the font-lists. (Or is that an advantage?)
Technical explanation of the font filter
editThe CSS declaration above declares a style which is to be applied to all HTML tags which specify the class="IPA"
attribute. Here is how it works: First it tells all browsers to use a list of fonts that support the IPA range of characters; then the declaration “font-family /**/:inherit;
” tells browsers to override that font list and inherit the font(s) from the surrounding scope. But the empty comment, /**/
, placed in just the right spot confuses IE and prevents it from applying this declaration. Due to this quirk IE (and only IE) is left with the font list.