Wikisłownik:Bar/Społeczność Wikisłownika: Różnice pomiędzy wersjami
Usunięta treść Dodana treść
zarchiwizowano 1 wątek w Wikisłownik:Bar/Społeczność Wikisłownika/Archiwum/2023 |
m →Deploying the Phonos in-line audio player to your Wiki: fix, sorry |
||
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika) | |||
Linia 19:
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 20:00, 28 cze 2023 (CEST)
<!-- Wiadomość wysłana przez User:RamzyM (WMF)@metawiki przy użyciu listy na https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25018085 -->
== Deploying the Phonos in-line audio player to your Wiki ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:Hello}}!
Apologies if this message is not in your language, {{int:Please help translate}} to your language.
This wiki will soon be able to use the [[mw:Help:Extension:Phonos#Inline_audio_player_mode|inline audio player]] implemented by the [[mw:Extension:Phonos|Phonos]] extension. This is part of fulfilling a wishlist proposal of providing [[m:Community_Wishlist_Survey_2022/Multimedia_and_Commons/Audio_links_that_play_on_click|audio links that play on click]].
With the inline audio player, you can add text-to-speech audio snippets to wiki pages by simply using a tag:
<syntaxhighlight lang="wikitext">
<phonos file="audio file" label="Listen"/>
</syntaxhighlight>
The above tag will show the text next to a speaker icon, and clicking on it will play the audio instantly without taking you to another page. A common example where you can use this feature is in adding pronunciation to words as illustrated on the [[wikt:en:English#Pronunciation|English Wiktionary]] below.
<syntaxhighlight lang="wikitext">
{{audio|en|En-uk-English.oga|Audio (UK)}}
</syntaxhighlight>
Could become:
<syntaxhighlight lang="wikitext">
<phonos file="En-uk-English.oga" label="Audio (UK)"/>
</syntaxhighlight>
The inline audio player will be available in your wiki in 2 weeks time; in the meantime, we would like you to [[mw:Special:MyLanguage/Help:Extension:Phonos|read about the features]] and give us feedback or ask questions about it in this [[mw:Help_talk:Extension:Phonos|talk page]].
Thank you!</div>
<bdi lang="en" dir="ltr">[[m:User:UOzurumba (WMF)|UOzurumba (WMF)]], on behalf of the Foundation's Language team</bdi>
</div>
04:26, 27 lip 2023 (CEST)
<!-- Wiadomość wysłana przez User:UOzurumba (WMF)@metawiki przy użyciu listy na https://meta.wikimedia.org/w/index.php?title=User:UOzurumba_(WMF)/sandbox_announcement_list_(In-line_audio_player)&oldid=25350821 -->
|