Source code for pywikibot.families.lingualibre_family
"""Family module for Lingua Libre."""
#
# (C) Pywikibot team, 2021
#
# Distributed under the terms of the MIT license.
#
from pywikibot import family
# The Lingua Libre family
[docs]class Family(family.WikimediaFamily):
"""Family class for Lingua Libre.
*New in version 6.5.*
"""
name = 'lingualibre'
langs = {
'lingualibre': 'lingualibre.org'
}
interwiki_forward = 'wikipedia'
[docs] def scriptpath(self, code):
"""Return the script path for this family."""
return ''
[docs] def interface(self, code):
"""Return 'DataSite'."""
return 'DataSite'