Page MenuHomePhabricator

Support for LinguaLibre in Pywikibot
Closed, ResolvedPublicFeature

Description

Lingua Libre (https://lingualibre.org) is a project supported by Wikimedia France that have earned the coolest tool award 2020 (diversity).
I think it would be very useful to have Pywikibot support for both the wikibase and the wiki.

Event Timeline

Pamputt changed the subtype of this task from "Task" to "Feature Request".Jul 7 2021, 7:18 PM
Pamputt updated the task description. (Show Details)
Pamputt moved this task from Backlog to Bots and data management on the Lingua-Libre-Legacy board.

I proposed a patch at https://gerrit.wikimedia.org/r/c/pywikibot/core/+/703625
I am clearly not an expert of the Pywikibot core so it may be not correct but it works for me.

Change 703638 had a related patch set uploaded (by Xqt; author: Pamputt):

[pywikibot/core@master] Support Lingua Libre

https://gerrit.wikimedia.org/r/703638

This comment was removed by Xqt.
Xqt triaged this task as Low priority.Jul 8 2021, 8:33 AM

@Pamputt: Thank your for your patch. Please add yourself to the CREDITS.rst file.

Xqt claimed this task.

Change 703638 merged by Xqt:

[pywikibot/core@master] Support Lingua Libre

https://gerrit.wikimedia.org/r/703638

Hi @Xqt: is the change already available (can we use pwb for Lingua Libre)?
Could you tell me what to type for the site = pywikibot.Site('language', 'family') command please?
Thanks @Pamputt for this patch :)

@WikiLucas00, both language and family are "lingualibre", so you can use

site = pywikibot.Site('lingualibre', 'lingualibre')

and yes, it is already available in the master branch.

Change 703775 had a related patch set uploaded (by Pamputt; author: Pamputt):

[pywikibot/core@master] Add myself to CREDITS.rst See https://phabricator.wikimedia.org/T286303#7201432

https://gerrit.wikimedia.org/r/703775

Change 703775 merged by Xqt:

[pywikibot/core@master] Add myself to CREDITS.rsz

https://gerrit.wikimedia.org/r/703775

Change 703918 had a related patch set uploaded (by Pamputt; author: Pamputt):

[pywikibot/core@master] Allow to request for item on Lingua Libre

https://gerrit.wikimedia.org/r/703918

@WikiLucas00: it is available with master branch and will be merged to stable in about two weeks

Change 703918 merged by jenkins-bot:

[pywikibot/core@master] Allow to request for item on Lingua Libre

https://gerrit.wikimedia.org/r/703918