"""Family module for Wikiversity."""## (C) Pywikibot team, 2007-2024## Distributed under the terms of the MIT license.#from__future__importannotationsfrompywikibotimportfamilyfrompywikibot.toolsimportclassproperty# The Wikimedia family that is known as Wikiversity
[docs]classFamily(family.SubdomainFamily,family.WikimediaFamily):"""Family class for Wikiversity."""name='wikiversity'codes={'ar','cs','de','el','en','es','fi','fr','hi','it','ja','ko','pt','ru','sl','sv','zh',}test_codes=['beta']@classpropertydefcode_aliases(cls):cls.code_aliases=super().code_aliases.copy()cls.code_aliases['mul']='beta'returncls.code_aliasescategory_redirect_templates={'_default':(),'ar':('تحويل تصنيف',),'en':('Category redirect',),}# Global bot allowed languages on# https://meta.wikimedia.org/wiki/BPI#Current_implementation# & https://meta.wikimedia.org/wiki/Special:WikiSets/2cross_allowed=['ar','hi','ja','ko','zh',]