Source code for pywikibot.families.wikiversity_family

# -*- coding: utf-8 -*-
"""Family module for Wikiversity."""
#
# (C) Pywikibot team, 2007-2018
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, division, unicode_literals

from pywikibot import family


# The Wikimedia family that is known as Wikiversity
[docs]class Family(family.SubdomainFamily, family.WikimediaFamily): """Family class for Wikiversity.""" name = 'wikiversity' languages_by_size = [ 'de', 'en', 'fr', 'ru', 'it', 'zh', 'cs', 'beta', 'pt', 'es', 'ar', 'sv', 'fi', 'sl', 'el', 'hi', 'ko', 'ja', ] category_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/2 cross_allowed = [ 'ar', 'hi', 'ja', 'ko', 'zh', ]