Source code for families.foundation_family
#
# (C) Pywikibot team, 2019-2026
#
# Distributed under the terms of the MIT license.
#
"""Family module for Foundation wiki.
.. version-added:: 3.0
"""
from __future__ import annotations
from pywikibot import family
[docs]
class Family(family.WikimediaFamily):
"""Family class for Foundation wiki.
.. version-changed:: 11.8
beta site code was added.
"""
name = 'foundation'
langs = {
'foundation': 'foundation.wikimedia.org',
'beta': 'foundation.wikimedia.beta.wmcloud.org',
}
test_codes = ['beta']
interwiki_forward = 'wmf'