"""Family module for Vikidia."""## (C) Pywikibot team, 2010-2024## Distributed under the terms of the MIT license.#from__future__importannotationsfrompywikibotimportfamilyfrompywikibot.toolsimportclassproperty
[docs]classFamily(family.SubdomainFamily):"""Family class for Vikidia."""name='vikidia'domain='vikidia.org'codes={'ar','ca','de','el','en','es','eu','fr','hy','it','nl','oc','pt','ru','scn',}# Sites we want to edit but not count as real languagestest_codes=['central','test']@classpropertydefdomains(cls):"""List of domains used by Vikidia family."""return[cls.domain,'wikikids.nl'# nl]@classpropertydeflangs(cls):"""Property listing family languages."""cls.langs=super().langscls.langs['nl']=cls.domains[1]returncls.langs
[docs]defscriptpath(self,code):"""Return the script path for this family."""ifcode=='nl':return''returnsuper().scriptpath(code)