Xqt submitted this change.
Support Lingua Libre
Bug: T286303
Change-Id: I3d279656fd42a9fef7fb326a71d774729d1c5a4c
---
A pywikibot/families/lingualibre_family.py
M pywikibot/family.py
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/pywikibot/families/lingualibre_family.py b/pywikibot/families/lingualibre_family.py
new file mode 100644
index 0000000..dcef217
--- /dev/null
+++ b/pywikibot/families/lingualibre_family.py
@@ -0,0 +1,25 @@
+"""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
+class Family(family.WikimediaFamily):
+
+ """Family class for Lingua Libre."""
+
+ name = 'lingualibre'
+
+ langs = {
+ 'lingualibre': 'lingualibre.org'
+ }
+
+ interwiki_forward = 'wikipedia'
+
+ def scriptpath(self, code):
+ """Return the script path for this family."""
+ return ''
diff --git a/pywikibot/family.py b/pywikibot/family.py
index 1fdd277..143bc81 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -1113,6 +1113,7 @@
other_content_families = [
'wikidata',
'mediawiki',
+ 'lingualibre',
]
content_families = set(
To view, visit change 703638. To unsubscribe, or for help writing mail filters, visit settings.