<commit_before># -*- coding: utf-8 -*-

__version__ = '$Id$'

# The new wikivoyage family that is hosted at wikimedia

from pywikibot import family

class Family(family.Family):
    def __init__(self):
        family.Family.__init__(self)
        self.name = 'Wikivoyage'
        self.langs = {
            'de': u'de.wikivoyage.org',
            'en': u'en.wikivoyage.org',
            'fr': u'fr.wikivoyage.org',
            'it': u'it.wikivoyage.org',
            'nl': u'nl.wikivoyage.org',
            'ru': u'ru.wikivoyage.org',
            'sv': u'sv.wikivoyage.org',
        }

    def scriptpath(self, code):
        return u'/w'

    def shared_image_repository(self, code):
        return ('commons', 'commons')<commit_msg>self.name in lower case (bug #1980309)<commit_after># -*- coding: utf-8 -*-

__version__ = '$Id$'

# The new wikivoyage family that is hosted at wikimedia

from pywikibot import family

class Family(family.Family):
    def __init__(self):
        family.Family.__init__(self)
        self.name = 'wikivoyage'
        self.langs = {
            'de': u'de.wikivoyage.org',
            'en': u'en.wikivoyage.org',
            'fr': u'fr.wikivoyage.org',
            'it': u'it.wikivoyage.org',
            'nl': u'nl.wikivoyage.org',
            'ru': u'ru.wikivoyage.org',
            'sv': u'sv.wikivoyage.org',
        }

    def scriptpath(self, code):
        return u'/w'

    def shared_image_repository(self, code):
        return ('commons', 'commons')
{'fraction_non_alphanumeric': 0.15137307434695244, 'fraction_numerical': 0.006028131279303416, 'mean_word_length': 2.1585623678646932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2964464', 'n_tokens_mistral': 532, 'n_tokens_neox': 519, 'n_words': 106}