LinguaLibre
Difference between revisions of "Bot"
Line 36: | Line 36: | ||
== Connexion via Oauth and Bots == | == Connexion via Oauth and Bots == | ||
− | Hello folks. Is there some special thing to do given the login is on Commons but connected to Lingualibre ? [[User:Yug|Yug]] ([[User talk:Yug|talk]]) 20:57, 1 March 2021 (UTC) | + | Hello folks. Is there some special thing to do given the login is on Commons but connected to Lingualibre ? I'am having some connexion issue with WikiAPI (JS) code. [[User:Yug|Yug]] ([[User talk:Yug|talk]]) 20:57, 1 March 2021 (UTC) |
Revision as of 20:57, 1 March 2021
Lingua Libre Bot (aka LiLiBot or LLBot) is passionate about audio recordings, languages and Wikimedia projects. Every day, it adds Lingua Libre's latest audio recordings to the relevant pages on various Wikimedia projects.
Due to the big amount of recordings added every day, it is necessary for LiLiBot to obtain the Bot status on each wiki it works on, in order to contribute to it safely. As of today, the bot is allowed and able to contribute to four Wikimedia projects.
YOU can help LiLiBot pursue its mission! Follow the guidelines on this page to request LiLiBot on your wiki!
This page serves as a request page for Lingua Libre Bot on specific wikis.
Copy and adapt this template to your needs, then paste it in a new section at the bottom of this page:
== Bot request for the {language} Wiktionary == {{Bot steps}} * '''Example pages (≥3):''' a few links to your Wiktionary's pages that are examples of the usual page structure. * '''Target section:''' title of the section in which the recordings should be listed (on the French Wiktionary, this is {{S|prononciation}}) * '''Local audio template(s) example(s):''' an example of how the audio recording template is used : e.g. {{deng|en|en-us-apple.ogg|Deng (DYA)}} * '''Local audio template(s) explained:''' explain the various parameters of that template (especially if the documentation of your template is not available in English nor in French) ** {Deng} means "audio", and take the following parameters... ** <code>en</code> is the iso639-2 of the audio. ** <code>en-us-apple.ogg</code> is the filename ** <code>Deng (DYA)</code> means audio (deng) and USA (DYA) which is the local variant or accent. * '''Edit summary text: ''' the summary text you would like to be displayed on your wiki when Lingua Libre Bot adds an audio file. * Request by: ~~~~
You can also read and publish useful information about bots in general on the current collaborative page.
Requests
Add your request below. Follow this template
== Bot request for {language} witkionary == * '''Example pages (3):''' [[:ku:wikt:Apple]], [[:ku:wikt:Pomme]] - You can see best audio integration there. * '''Target section:''' the audio file should be added at the end of the <code>==Bilêvkirin==</code> section, which means ... * '''Local audio template(s) example(s):''' {{deng|en|en-us-apple.ogg|Deng (DYA)}} * '''Local audio template(s) explained:''' ** {Deng} means "audio", and take the following parameters... ** <code>en</code> is the iso639-2 of the audio. ** <code>en-us-apple.ogg</code> is the filename ** <code>Deng (DYA)</code> means audio (deng) and USA (DYA) which is the local variant or accent. * Request by: ~~~~
Bot request for ku.wiktionary
- Example pages (3): ku:wikt:beran, ku:wikt:başûr, ku:wikt:keskesor- You can see best audio integration there.
- Target section: The audio file should be added at the end of the
=== Bilêvkirin ===
section, which means "Pronunciation". If there is no=== Bilêvkirin ===
section on the page, please create one after the language section, that is== {{ziman|<lang code>}} ==
. If there is no language section, the audio file should not be added. - Local audio template(s) example(s):
{{deng|ku|LL-Q36368 (kur)-Mihemed Qers-keskesor.wav|Deng|dever=Qers}}
- Local audio template(s) explained:
- {Deng} is the template name which means "audio", and takes the following parameters...
ku
is the lang code from ISO 639-1 of the audio, ISO 639-3 and ISO 639-2 are also in use.LL-Q36368 (kur)-Mihemed Qers-keskesor.wav
is the filenameDeng
means audio, should always be present.|dever=
means place of origin, could be local variant or accent, country or city name. In the example "Qers" is the Kurdish name for the city en:Kars.
- Request by: Balyozxane (talk) 04:05, 22 February 2021 (UTC)
- Here are two examples [1], [2]. If there are multiple part of speech sections we still collect them all at the top of the page like this [3].
|dever=
parameter should fetch the Kurdish names for places from Wikidata if possible. Lingua libre uses "kur" code for Kurdish, but we use "ku" and sometimes "kmr" on ku.wikt. Even when the language code is "kmr" in language section, the lang code in {{deng|<lang code>}} should be "ku". I think that's all I can remember. Any questions? --Balyozxane (talk) 00:26, 21 February 2021 (UTC)- You can also take a look at this page [4] for guidance.--Balyozxane (talk) 00:47, 21 February 2021 (UTC)
- @Balyozxane , your last link is a diff, is it normal ? Also, can you reformat a bit your request so it follow the template above. You can also allow me to edit your text and I will happily do it. cc: user:Poslovitch. Yug (talk) 18:52, 21 February 2021 (UTC)
- @Yug The last link was for example only to show there are other varients but the first two are the desired outcome from the LiLiBot. Feel free to correct my use of the template as free as you can. Balyozxane (talk) 04:05, 22 February 2021 (UTC)
- @Balyozxane Thanks! I'll get to work ASAP. I'll notify you once I'm ready to test the bot ;) --Poslovitch (talk) 13:19, 23 February 2021 (UTC)
- Thank you!Balyozxane (talk) 08:00, 24 February 2021 (UTC)
- @Balyozxane Thanks! I'll get to work ASAP. I'll notify you once I'm ready to test the bot ;) --Poslovitch (talk) 13:19, 23 February 2021 (UTC)
- @Yug The last link was for example only to show there are other varients but the first two are the desired outcome from the LiLiBot. Feel free to correct my use of the template as free as you can. Balyozxane (talk) 04:05, 22 February 2021 (UTC)
- @Balyozxane , your last link is a diff, is it normal ? Also, can you reformat a bit your request so it follow the template above. You can also allow me to edit your text and I will happily do it. cc: user:Poslovitch. Yug (talk) 18:52, 21 February 2021 (UTC)
- You can also take a look at this page [4] for guidance.--Balyozxane (talk) 00:47, 21 February 2021 (UTC)
Connexion via Oauth and Bots
Hello folks. Is there some special thing to do given the login is on Commons but connected to Lingualibre ? I'am having some connexion issue with WikiAPI (JS) code. Yug (talk) 20:57, 1 March 2021 (UTC)