Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:IPA

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:IPA/sandbox)
Latest comment: 22 days ago by Phazd in topic Need //, not [ ]

CSS selectors for language's normal writing system but not IPA

[edit]

I don't know how I hadn't noticed this yet in more than a year, but the -Latn-fonipa-suffixed lang attribute in this template is causing me problems when I've applied a CSS rule to language-tagged text. I get Hebrew-script-appropriate fonts applied to a Hebrew IPA transcription in Gal Gadot because I use the selector :lang(he) in my personal stylesheet that captures lang="he-Latn-fonipa as well as lang="he". :lang(he-Hebr) doesn't capture lang="he-Latn-fonipa, but it also doesn't capture lang="he". I guess :lang(he):not(:lang(he-Latn)) or :lang("*-Latn") { /* set font-family and other styles to default here */ } might work, but I don't have the time to try right now. Any other solutions to avoid selecting IPA text when trying to style a language's normal writing system? — Eru·tuon 10:51, 9 March 2025 (UTC)Reply

@Erutuon: :lang(he):not(:lang(\*-Latn)). Hope I'm not too late! Nardog (talk) 15:11, 25 November 2025 (UTC)Reply
Yeah, that works. Firefox automatically converts :lang("*-Latn") to :lang(\*-Latn). — Eru·tuon 16:30, 25 November 2025 (UTC)Reply

Bug on mobile

[edit]

See the first note here: https://en.wikipedia.org/wiki/Luiz_In%C3%A1cio_Lula_da_Silva, on mobile. We can't see the 🔈 symbol. ~2025-37360-60 (talk) 01:30, 7 December 2025 (UTC)Reply

Phonemic vs. phonetic transcription

[edit]

I'm not sure I did the right thing. I've made this edit but I was forced to switch form a phonemic transcription to a phonetic one, since there's no way to link to IPA for German with slashes.-- Carnby (talk) 17:07, 20 April 2026 (UTC)Reply

The key is phonetic, not phonemic, so you of course were. Nardog (talk) 04:10, 29 April 2026 (UTC)Reply

Need //, not [ ]

[edit]

How can I make the template use slashes instead of square brackets? Sometimes I make phonemic transcriptions of BCMS, but the template forces square brackets for phonetic transcription either way. — Phazd (talk|contribs) 01:04, 2 September 2026 (UTC)Reply