# -*- coding: utf-8 -*-

__version__ = '$Id$'

# The new wikivoyage family that is hosted at wikimedia

from pywikibot import family

class Family(family.WikimediaFamily):
    def __init__(self):
        super(Family, self).__init__()
        self.name = 'wikivoyage'
        self.languages_by_size = [
            'de', 'en', 'fr', 'it', 'nl', 'ru', 'sv', 'pt', 'es', 'pl', 'ro',
        ]

        self.langs = dict([(lang, '%s.wikivoyage.org' % lang)
                           for lang in self.languages_by_size])

@@ -313,27 +313,21 @@
    '
-d
 e
+n
 ', '
+d
 e
-n
 ', '
-fr', 'i
+p
 t', 
@@ -337,42 +337,42 @@
 ', '
+f
 r
-u
 ', '
-sv
+it
 ', '
-pt
+ru
 ', '
-e
 s
+v
 ', '
-pl
+es
 ', 'ro',
 %0A   
@@ -367,16 +367,22 @@
 ', 'ro',
+ 'pl',
 %0A       

update language_by_size for vikivoyage