Ability to share with other users a link with URL parameters allowing to prefill Step 4's key fields of the Lingua Libre's VueJS form.
Use case
An experienced Lingua Libre user (User_1) can proceed up to Step 4 (list loading).
If the text area has content (not empty), then add a sharable link to the bottom of the recording studio.
User_1 then copy an url link to share it with User_2 (native speaker with low IT literacy).
As User_2 open the link, it prefills some key Recording Studio fields :
- language iso
- words list.
User_2 still has to fill the other fields, but at Step 4, the most expert fields will be filled already.
Key parameter
(Proposal:)
- Recorded language : EUS
- List via either:
- name (i.e: https://commons.wikimedia.org/wiki/Commons:Lingua_Libre/List:Eus/Common_words )
- url encoded SPARQL query and endpoint
- a list of url encoded items separated by solid separator not it common texts
Avenues
Approach 1 : Sharable short-url with database-stored list items.
Similar systems :
- Wikidata short url : https://w.wiki/9fyb
- JSfiddle short url : https://jsfiddle.net/6rbcu1yw/2/
- Notes short url : https://notes.wikimedia.fr/p/Test
Approach 2 : Sharable long-url with url parameter and url-encoded values to load last loaded generator or local list.
Similar systems :
In that case, long url would look like :
- Local list: https://lingualibre.org/RecordStudio?languageCode=Fra&languageQid=Q150&generatorType=localList&list=List:Fra/Common%20words
- Generator SPARQL: https://lingualibre.org/RecordStudio?languageCode=Fra&languageQid=Q150&generatorType=wikidata&query=%23Cats%0ASELECT%20%3Fitem%20%3FitemLabel%0AWHERE%0A%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ146.%20%23%20Must%20be%20a%20cat%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20"%5BAUTO_LANGUAGE%5D%2Cen".%20%7D%20%23%20Helps%20get%20the%20label%20in%20your%20language%2C%20if%20not%2C%20then%20en%20language%0A%7D
- Generator Category: https://lingualibre.org/RecordStudio?languageCode=Fra&languageQid=Q150&generatorType=category&wiki=fr.wikipedia.org&query=Category:Chats
Place
At _Step 4: Word list , nearby, categories and external tools word generators are also done_ , as soon as the list textarea hold items (not empty), under it, add a sharable link with the relevant url parameters.
Traps
The sharing systems is only one half.
The system also need to recognize those url parameters.
Occasionally, word list and recorded languages are different. Example : Cantonese, Japanese speakers can load List:Cmn/Animals (Mandarin Chinese) and record it.