Extension:Phonos

The Phonos extension is a Community Tech project for implementing the IPA Audio Renderer wish from the 2022 Community Wishlist Survey.

Configuration parameters

 * $wgPhonosEngine: Which engine to use. One of  (default), , or.
 * $wgPhonosApiEndpointLarynx: The API endpoint to use for the Larynx engine.
 * $wgPhonosApiEndpointGoogle: The API endpoint to use for the Google engine.
 * $wgPhonosApiKeyGoogle: The API key for the Google engine.
 * $wgPhonosApiProxy: HTTP proxy to use for API requests. If not set, will be used.
 * $wgPhonosFileBackend: Which file backend to use for caching. Defaults to a custom Phonos backend using FSFileBackend.
 * $wgPhonosFileBackendDirectory: Which directory to use for file caching, if $wgPhonosFileBackend is . Defaults to.
 * $wgPhonosEspeak: Path to the eSpeak executable. Defaults to
 * $wgPhonosLame: Path to the Lame executable used for converting WAV to MP3. Defaults to
 * $wgPhonosPath: Relative URL path to where Phonos files are publicly available. Defaults to
 * $wgPhonosWikibaseUrl: The URL to a Wikibase installation, including the and trailing slash.
 * $wgPhonosWikibaseProperties: An object containing the following:
 * wikibasePronunciationAudioProp: Property for pronunciation audio.
 * wikibaseLangNameProp: Property for language of work or name.
 * wikibaseIETFLangTagProp: Property for IETF language tag.


 * $wgPhonosCommonsMediaUrl: URL to Special:FilePath on a shared media repository including the trailing slash.
 * $wgPhonosStoreFilesAsMp3: Set to  to retain files as WAV instead of converting to MP3 with Lame.

Usage
For all usage information, see the extension's help page.