wikimedia-france / Lingua-Libre

LinguaLibre – Massive Open Audio Recording system
http://v1.lingualibre.fr
GNU General Public License v3.0
14 stars 5 forks source link

Add possibility of OAuth login via Wikipedia account system #31

Closed hugolpz closed 6 years ago

hugolpz commented 7 years ago

Issue made to keep idea in mind.

Use-case :

See also : OAuth, Help:OAuth

tshrinivasan commented 7 years ago

We need this feature to be implemented in lingua libre, so that we can use the user's wikipedia account to upload the files to commons and link to dictionary.

hugolpz commented 7 years ago

French devs would prefer that each user on LinguaLibre push to commons via its own Wikimedia account. @0x010C : any forcast for you setting this up ? Can you ask your boss some time to work on this ?

tshrinivasan commented 7 years ago

Discussed this on the mailing list for commons1. Please read this thread. Commons devs apparently prefer oauth only.

hugolpz commented 7 years ago

Yes yes, push to commons via OAUTH...

My username on LL is yug or whatever, I provide my wikipedian username as yug, So by connecting on LL, when I records an audio there, then at LL's pipeline sends the audios to commons... ...on commons, the file's history must show up User:Yug, something such :

"Give my copyright back!", told the Iron Lady

NOT user:LinguaLibreBot or similar, which would be copyright thief by bot ! ^^

hugolpz commented 7 years ago

Federico Leva (Nemo:

Nowadays, tools generally use OAuth to upload on the user's behalf. See examples: https://commons.wikimedia.org/wiki/Commons:Upload_tools#Transfer_tools

Examples: https://www.mediawiki.org/wiki/OAuth/For_Developers https://github.com/toollabs/video2commons/blob/master/video2commons/frontend/app.py#L121 https://github.com/wikisource/ia-upload/blob/master/src/IaUpload/OAuth/MediaWikiOAuth.php