Source code for families.vikidia_family
"""Family module for Vikidia."""
#
# (C) Pywikibot team, 2010-2022
#
# Distributed under the terms of the MIT license.
#
from pywikibot import family
[docs]class Family(family.SubdomainFamily):
"""Family class for Vikidia."""
name = 'vikidia'
domain = 'vikidia.org'
codes = [
'ca', 'de', 'el', 'en', 'es', 'eu', 'fr', 'hy', 'it', 'oc',
'pt', 'ru', 'scn',
]
# Sites we want to edit but not count as real languages
test_codes = ['central', 'test']
[docs] def protocol(self, code) -> str:
"""Return https as the protocol for this family."""
return 'https'