Help:Extension:Phonos

The Phonos extension makes it easy to embed text-to-speech audio snippets in wiki pages.

Usage

 * This section describes functionality that is still being developed as of September 2022.

Phonos adds a parser tag that will render a speaker icon and the IPA text. Clicking on these will play the appropriate audio.

The parser tag has the following structure; all parameters are optional but at least one other than  must be provided:

[optional label]


 * — the IPA notation to render. Some engines may perform better with or without brackets around the string.
 * — the plain text representation of the string, used by some engines to improve the rendering of the audio. This text will be displayed if there is no  given.
 * — the language code, used to help the engine have better pronunciation and/or to choose the correct information from Wikidata (via a qualifier on either of the above properties). This defaults to the content language of the page the parser tag is used on.
 * — ID of the Wikidata item or lexeme from which to fetch (if   is not used) and/or  (if   is not used). When providing a lexeme, the   parameter must also be provided and exactly match the lexeme representation.
 * — The filename of an audio file to use instead of any engine-generated or Wikidata-retrieved audio.
 * — the label that will be displayed, overriding any  or  . This can contain wikitext.