FANDOM


This page describes a family file as it existed when uploaded. A "known working date" should appear in the infobox. It will probably function in its current form, but you may get the odd, non-fatal error message if the wiki in question has added or subtracted namespaces, or if the MediaWiki version number has changed.

tardis_wikia_family.py
Creator: Corey Chambers
What it does: family file
Where used: tardis
Known working on: 20140223041734

Tardis wikia family.py is a script that serves as the family file for w:c:tardis.

File contents Edit

This is the complete family file for tardis.wikia.com. To make it available for user-config.sys to use:

  1. copy the entire contents of the box below
  2. start a new file in a plain text editor (like TextEdit or Notepad)
  3. save it as a .py file in the families folder found in the pywikipedia folder
  4. make sure it's named exactly as the infobox specifies
# -*- coding: utf-8 -*-
"""
This family file was auto-generated by $Id: 1607ead96fef710d4dc6de7713f21851a5744016 $
Configuration parameters:
  url = http://www.tardis.wikia.com
  name = tardis_wikia

Please do not commit this to the Git repository!
"""

import family

class Family(family.Family):
    def __init__(self):
        family.Family.__init__(self)
        self.name = 'tardis_wikia'
        self.langs = {
            'en': 'tardis.wikia.com',
            'ro': 'ro.doctorwho.wikia.com',
            'fr': 'docteurwho.wikia.com',
            'pt': 'pt.doctorwho.wikia.com',
            'de': 'de.doctorwho.wikia.com',
            'ru': 'ru.tardis.wikia.com',
            'he': 'he.doctorwho.wikia.com',
            'es': 'es.doctorwho.wikia.com',
            'bg': 'bg.doctorwho.wikia.com',
            'nl': 'nl.doctorwho.wikia.com',
        }

        self.namespaces[1] = self.namespaces.get(1, {})
        self.namespaces[1][u'fr'] = [u'Discuter']
        self.namespaces[1][u'ro'] = [u'Discu\u0163ie']
        self.namespaces[2] = self.namespaces.get(2, {})
        self.namespaces[2][u'ru'] = [u'\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u0430']
        self.namespaces[2][u'de'] = [u'Benutzerin']
        self.namespaces[2][u'es'] = [u'Usuaria']
        self.namespaces[2][u'pt'] = [u'Utilizador', u'Usu\xe1rio', u'Utilizadora']
        self.namespaces[2][u'he'] = [u'\u05de\u05e9\u05ea\u05de\u05e9\u05ea']
        self.namespaces[3] = self.namespaces.get(3, {})
        self.namespaces[3][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u044b']
        self.namespaces[3][u'fr'] = [u'Discussion Utilisateur']
        self.namespaces[3][u'pt'] = [u'Utilizador Discuss\xe3o', u'Usu\xe1rio Discuss\xe3o', u'Utilizadora Discuss\xe3o']
        self.namespaces[3][u'de'] = [u'Benutzerin Diskussion']
        self.namespaces[3][u'ro'] = [u'Discu\u0163ie Utilizator']
        self.namespaces[3][u'es'] = [u'Usuario Discusi\xf3n', u'Usuaria Discusi\xf3n']
        self.namespaces[3][u'he'] = [u'\u05e9\u05d9\u05d7\u05ea \u05de\u05e9\u05ea\u05de\u05e9\u05ea']
        self.namespaces[4] = self.namespaces.get(4, {})
        self.namespaces[4][u'ru'] = [u'\u0412\u0438\u043a\u0438 \u0414\u043e\u043a\u0442\u043e\u0440 \u041a\u0442\u043e']
        self.namespaces[4][u'fr'] = [u'Doctor Who Wiki']
        self.namespaces[4][u'en'] = [u'Tardis']
        self.namespaces[4][u'nl'] = [u'Nederlands Doctor Who Wiki']
        self.namespaces[4][u'pt'] = [u'Wiki Doctor Who']
        self.namespaces[4][u'de'] = [u'Doctor Who Torchwood Wiki']
        self.namespaces[4][u'bg'] = [u'Doctor Who Wiki']
        self.namespaces[4][u'ro'] = [u'DoctorWho Wiki']
        self.namespaces[4][u'es'] = [u'Doctor Who Wiki']
        self.namespaces[4][u'he'] = [u'\u05d3\u05d5\u05e7\u05d8\u05d5\u05e8 \u05d4\u05d5 Wiki']
        self.namespaces[5] = self.namespaces.get(5, {})
        self.namespaces[5][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0412\u0438\u043a\u0438 \u0414\u043e\u043a\u0442\u043e\u0440 \u041a\u0442\u043e']
        self.namespaces[5][u'fr'] = [u'Discussion Doctor Who Wiki']
        self.namespaces[5][u'en'] = [u'Tardis talk']
        self.namespaces[5][u'nl'] = [u'Overleg Nederlands Doctor Who Wiki']
        self.namespaces[5][u'pt'] = [u'Wiki Doctor Who Discuss\xe3o']
        self.namespaces[5][u'de'] = [u'Doctor Who Torchwood Wiki Diskussion']
        self.namespaces[5][u'bg'] = [u'Doctor Who Wiki \u0431\u0435\u0441\u0435\u0434\u0430']
        self.namespaces[5][u'ro'] = [u'Discu\u021bie DoctorWho Wiki', u'Discu\u0163ie DoctorWho Wiki']
        self.namespaces[5][u'es'] = [u'Doctor Who Wiki discusi\xf3n']
        self.namespaces[5][u'he'] = [u'\u05e9\u05d9\u05d7\u05ea \u05d3\u05d5\u05e7\u05d8\u05d5\u05e8 \u05d4\u05d5 Wiki']
        self.namespaces[6] = self.namespaces.get(6, {})
        self.namespaces[6][u'ru'] = [u'Video', u'Image', u'\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435']
        self.namespaces[6][u'fr'] = [u'Video', u'Image']
        self.namespaces[6][u'en'] = [u'Video', u'Image']
        self.namespaces[6][u'nl'] = [u'Video', u'Image', u'Afbeelding']
        self.namespaces[6][u'pt'] = [u'Video', u'Image', u'Imagem', u'Arquivo']
        self.namespaces[6][u'de'] = [u'Video', u'Image', u'Bild']
        self.namespaces[6][u'bg'] = [u'Video', u'Image', u'\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430']
        self.namespaces[6][u'ro'] = [u'Video', u'Image', u'Imagine', u'Fi\u015fier']
        self.namespaces[6][u'es'] = [u'Video', u'Image', u'Imagen']
        self.namespaces[6][u'he'] = [u'Video', u'Image', u'\u05ea\u05de\u05d5\u05e0\u05d4']
        self.namespaces[7] = self.namespaces.get(7, {})
        self.namespaces[7][u'ru'] = [u'Video talk', u'Image talk', u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f']
        self.namespaces[7][u'fr'] = [u'Video talk', u'Image talk', u'Discussion Fichier', u'Discussion Image']
        self.namespaces[7][u'en'] = [u'Video talk', u'Image talk']
        self.namespaces[7][u'nl'] = [u'Video talk', u'Image talk', u'Overleg afbeelding']
        self.namespaces[7][u'pt'] = [u'Video talk', u'Image talk', u'Imagem Discuss\xe3o', u'Arquivo Discuss\xe3o']
        self.namespaces[7][u'de'] = [u'Video talk', u'Image talk', u'Bild Diskussion']
        self.namespaces[7][u'bg'] = [u'Video talk', u'Image talk', u'\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0431\u0435\u0441\u0435\u0434\u0430']
        self.namespaces[7][u'ro'] = [u'Video talk', u'Image talk', u'Discu\u0163ie Imagine', u'Discu\u0163ie Fi\u015fier']
        self.namespaces[7][u'es'] = [u'Video talk', u'Image talk', u'Imagen Discusi\xf3n']
        self.namespaces[7][u'he'] = [u'Video talk', u'Image talk', u'\u05e9\u05d9\u05d7\u05ea \u05ea\u05de\u05d5\u05e0\u05d4']
        self.namespaces[9] = self.namespaces.get(9, {})
        self.namespaces[9][u'ro'] = [u'Discu\u0163ie MediaWiki']
        self.namespaces[371] = self.namespaces.get(371, {})
        self.namespaces[371][u'en'] = [u'Filter talk']
        self.namespaces[13] = self.namespaces.get(13, {})
        self.namespaces[13][u'fr'] = [u'Discussion Aide']
        self.namespaces[13][u'ro'] = [u'Discu\u0163ie Ajutor']
        self.namespaces[15] = self.namespaces.get(15, {})
        self.namespaces[15][u'fr'] = [u'Discussion Cat\xe9gorie']
        self.namespaces[15][u'ro'] = [u'Discu\u0163ie Categorie']
        self.namespaces[420] = self.namespaces.get(420, {})
        self.namespaces[420][u'en'] = [u'Layer']
        self.namespaces[421] = self.namespaces.get(421, {})
        self.namespaces[421][u'en'] = [u'Layer talk']
        self.namespaces[1202] = self.namespaces.get(1202, {})
        self.namespaces[1202][u'ru'] = [u'\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u0442\u0435\u043d\u044b \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f', u'Message Wall Greeting']
        self.namespaces[1202][u'fr'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'en'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'nl'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'pt'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'de'] = [u'Nachrichtenseite Begr\xfc\xdfung', u'Message Wall Greeting']
        self.namespaces[1202][u'bg'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'ro'] = [u'Message Wall Greeting']
        self.namespaces[1202][u'es'] = [u'Bienvenida del Muro', u'Message Wall Greeting']
        self.namespaces[1202][u'he'] = [u'Message Wall Greeting']
        self.namespaces[302] = self.namespaces.get(302, {})
        self.namespaces[302][u'en'] = [u'Property']
        self.namespaces[303] = self.namespaces.get(303, {})
        self.namespaces[303][u'en'] = [u'Property talk']
        self.namespaces[1200] = self.namespaces.get(1200, {})
        self.namespaces[1200][u'ru'] = [u'\u0421\u0442\u0435\u043d\u0430 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f', u'Message Wall']
        self.namespaces[1200][u'fr'] = [u'Mur', u'Message Wall']
        self.namespaces[1200][u'en'] = [u'Message Wall']
        self.namespaces[1200][u'nl'] = [u'Message Wall']
        self.namespaces[1200][u'pt'] = [u'Message Wall']
        self.namespaces[1200][u'de'] = [u'Nachrichtenseite', u'Message Wall']
        self.namespaces[1200][u'bg'] = [u'Message Wall']
        self.namespaces[1200][u'ro'] = [u'Message Wall']
        self.namespaces[1200][u'es'] = [u'Muro', u'Message Wall']
        self.namespaces[1200][u'he'] = [u'Message Wall']
        self.namespaces[1201] = self.namespaces.get(1201, {})
        self.namespaces[1201][u'ru'] = [u'\u0422\u0435\u043c\u0430', u'Thread']
        self.namespaces[1201][u'fr'] = [u'Fil', u'Thread']
        self.namespaces[1201][u'en'] = [u'Thread']
        self.namespaces[1201][u'nl'] = [u'Thread']
        self.namespaces[1201][u'pt'] = [u'Thread']
        self.namespaces[1201][u'de'] = [u'Diskussionsfaden', u'Thread']
        self.namespaces[1201][u'bg'] = [u'Thread']
        self.namespaces[1201][u'ro'] = [u'Thread']
        self.namespaces[1201][u'es'] = [u'Hilo', u'Thread']
        self.namespaces[1201][u'he'] = [u'Thread']
        self.namespaces[306] = self.namespaces.get(306, {})
        self.namespaces[306][u'en'] = [u'Form']
        self.namespaces[307] = self.namespaces.get(307, {})
        self.namespaces[307][u'en'] = [u'Form talk']
        self.namespaces[308] = self.namespaces.get(308, {})
        self.namespaces[308][u'en'] = [u'Concept']
        self.namespaces[309] = self.namespaces.get(309, {})
        self.namespaces[309][u'en'] = [u'Concept talk']
        self.namespaces[500] = self.namespaces.get(500, {})
        self.namespaces[500][u'ru'] = [u'\u0411\u043b\u043e\u0433 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430', u'User blog']
        self.namespaces[500][u'fr'] = [u'Blog utilisateur', u'User blog']
        self.namespaces[500][u'bg'] = [u'User blog']
        self.namespaces[500][u'nl'] = [u'User blog']
        self.namespaces[500][u'pt'] = [u'User blog']
        self.namespaces[500][u'de'] = [u'Benutzer Blog', u'User blog']
        self.namespaces[500][u'es'] = [u'Usuario Blog', u'User blog']
        self.namespaces[500][u'he'] = [u'User blog']
        self.namespaces[700] = self.namespaces.get(700, {})
        self.namespaces[700][u'ru'] = [u'\u0421\u043f\u0438\u0441\u043e\u043a \u0422\u043e\u043f 10', u'Top 10 list']
        self.namespaces[700][u'ro'] = [u'Top 10 list']
        self.namespaces[700][u'es'] = [u'10 Mejores', u'Top 10 list']
        self.namespaces[701] = self.namespaces.get(701, {})
        self.namespaces[701][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0422\u043e\u043f 10', u'Top 10 list talk']
        self.namespaces[701][u'ro'] = [u'Top 10 list talk']
        self.namespaces[701][u'es'] = [u'10 Mejores Discusi\xf3n', u'Top 10 list talk']
        self.namespaces[501] = self.namespaces.get(501, {})
        self.namespaces[501][u'ru'] = [u'\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0431\u043b\u043e\u0433\u0430 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430', u'User blog comment']
        self.namespaces[501][u'fr'] = [u'Commentaire blog utilisateur', u'User blog comment']
        self.namespaces[501][u'bg'] = [u'User blog comment']
        self.namespaces[501][u'nl'] = [u'User blog comment']
        self.namespaces[501][u'pt'] = [u'User blog comment']
        self.namespaces[501][u'de'] = [u'Benutzer Blog Kommentare', u'User blog comment']
        self.namespaces[501][u'es'] = [u'Usuario Blog Comentario', u'User blog comment']
        self.namespaces[501][u'he'] = [u'User blog comment']
        self.namespaces[11] = self.namespaces.get(11, {})
        self.namespaces[11][u'fr'] = [u'Discussion Mod\xe8le']
        self.namespaces[11][u'ro'] = [u'Discu\u0163ie Format']
        self.namespaces[1100] = self.namespaces.get(1100, {})
        self.namespaces[1100][u'en'] = [u'RelatedVideos']
        self.namespaces[2000] = self.namespaces.get(2000, {})
        self.namespaces[2000][u'ru'] = [u'\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0442\u0435\u043c\u0430', u'Board']
        self.namespaces[2000][u'fr'] = [u'Sous-forum', u'Board']
        self.namespaces[2000][u'en'] = [u'Board']
        self.namespaces[2000][u'he'] = [u'Board']
        self.namespaces[2001] = self.namespaces.get(2001, {})
        self.namespaces[2001][u'ru'] = [u'\u0422\u0435\u043c\u0430 \u0444\u043e\u0440\u0443\u043c\u0430', u'Board Thread']
        self.namespaces[2001][u'fr'] = [u'Fil de forum', u'Board Thread']
        self.namespaces[2001][u'en'] = [u'Board Thread']
        self.namespaces[2001][u'he'] = [u'Board Thread']
        self.namespaces[2002] = self.namespaces.get(2002, {})
        self.namespaces[2002][u'ru'] = [u'Topic']
        self.namespaces[2002][u'fr'] = [u'Sujet', u'Topic']
        self.namespaces[2002][u'en'] = [u'Topic']
        self.namespaces[2002][u'he'] = [u'Topic']
        self.namespaces[370] = self.namespaces.get(370, {})
        self.namespaces[370][u'en'] = [u'Filter']
        self.namespaces[110] = self.namespaces.get(110, {})
        self.namespaces[110][u'ru'] = [u'\u0424\u043e\u0440\u0443\u043c', u'Forum']
        self.namespaces[110][u'fr'] = [u'Forum']
        self.namespaces[110][u'en'] = [u'Forum']
        self.namespaces[110][u'nl'] = [u'Forum']
        self.namespaces[110][u'pt'] = [u'Forum']
        self.namespaces[110][u'de'] = [u'Forum']
        self.namespaces[110][u'bg'] = [u'Forum']
        self.namespaces[110][u'ro'] = [u'Forum']
        self.namespaces[110][u'es'] = [u'Foro', u'Forum']
        self.namespaces[110][u'he'] = [u'Forum']
        self.namespaces[111] = self.namespaces.get(111, {})
        self.namespaces[111][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0444\u043e\u0440\u0443\u043c\u0430', u'Forum talk']
        self.namespaces[111][u'fr'] = [u'Forum talk']
        self.namespaces[111][u'en'] = [u'Forum talk']
        self.namespaces[111][u'nl'] = [u'Forum talk']
        self.namespaces[111][u'pt'] = [u'Forum talk']
        self.namespaces[111][u'de'] = [u'Forum talk']
        self.namespaces[111][u'bg'] = [u'Forum talk']
        self.namespaces[111][u'ro'] = [u'Forum talk']
        self.namespaces[111][u'es'] = [u'Foro Discusi\xf3n', u'Forum talk']
        self.namespaces[111][u'he'] = [u'Forum talk']
        self.namespaces[112] = self.namespaces.get(112, {})
        self.namespaces[112][u'en'] = [u'Howling']
        self.namespaces[113] = self.namespaces.get(113, {})
        self.namespaces[113][u'en'] = [u'Howling talk']
        self.namespaces[114] = self.namespaces.get(114, {})
        self.namespaces[114][u'en'] = [u'Theory']
        self.namespaces[115] = self.namespaces.get(115, {})
        self.namespaces[115][u'en'] = [u'Theory talk']
        self.namespaces[116] = self.namespaces.get(116, {})
        self.namespaces[116][u'en'] = [u'Transmat']
        self.namespaces[117] = self.namespaces.get(117, {})
        self.namespaces[117][u'en'] = [u'Transmat talk']
        self.namespaces[502] = self.namespaces.get(502, {})
        self.namespaces[502][u'ru'] = [u'\u0411\u043b\u043e\u0433', u'Blog']
        self.namespaces[502][u'fr'] = [u'Blog']
        self.namespaces[502][u'bg'] = [u'Blog']
        self.namespaces[502][u'nl'] = [u'Blog']
        self.namespaces[502][u'pt'] = [u'Blog']
        self.namespaces[502][u'de'] = [u'Blog']
        self.namespaces[502][u'es'] = [u'Blog']
        self.namespaces[502][u'he'] = [u'Blog']
        self.namespaces[503] = self.namespaces.get(503, {})
        self.namespaces[503][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0431\u043b\u043e\u0433\u0430', u'Blog talk']
        self.namespaces[503][u'fr'] = [u'Discussion blog utilisateur', u'Blog talk']
        self.namespaces[503][u'bg'] = [u'Blog talk']
        self.namespaces[503][u'nl'] = [u'Blog talk']
        self.namespaces[503][u'pt'] = [u'Blog talk']
        self.namespaces[503][u'de'] = [u'Blog Diskussion', u'Blog talk']
        self.namespaces[503][u'es'] = [u'Blog Discusi\xf3n', u'Blog talk']
        self.namespaces[503][u'he'] = [u'Blog talk']


    def scriptpath(self, code):
        return {
            'en': '',
            'ro': '',
            'fr': '',
            'pt': '',
            'de': '',
            'ru': '',
            'he': '',
            'es': '',
            'bg': '',
            'nl': '',
        }[code]

    def version(self, code):
        return {
            'en': u'1.19.11',
            'ro': u'1.19.10',
            'fr': u'1.19.11',
            'pt': u'1.19.11',
            'de': u'1.19.11',
            'ru': u'1.19.11',
            'he': u'1.19.11',
            'es': u'1.19.11',
            'bg': u'1.19.11',
            'nl': u'1.19.10',
        }[code]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.