User:Kaori Emora/lolwiki family.py

This file is found in the  directory. See also: http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Use_on_non-WMF_wikis """ This family file was auto-generated by $Id: generate_family_file.py 9734 2011-11-09 22:17:11Z valhallasw $ Configuration parameters: url = http://leagueoflegends.wikia.com  name = lolwiki
 * 1) -*- coding: utf-8 -*-

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

import family

class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'lolwiki' self.langs = { 'de': u'de.leagueoflegends.wikia.com', 'en': u'leagueoflegends.wikia.com', 'ru': u'ru.lol-game.wikia.com', 'fr': u'fr.leagueoflegends.wikia.com', 'pl': u'pl.leagueoflegends.wikia.com', 'es': u'es.lolesp.wikia.com', }

self.namespaces[1] = self.namespaces.get(1, {}) self.namespaces[1][u'fr'] = [u'Discuter'] 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'pl'] = [u'U\u017cytkownik', u'U\u017cytkowniczka'] 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'de'] = [u'Benutzerin Diskussion'] self.namespaces[3][u'es'] = [u'Usuario Discusi\xf3n', u'Usuaria Discusi\xf3n'] self.namespaces[3][u'pl'] = [u'Dyskusja u\u017cytkownika', u'Dyskusja u\u017cytkowniczki'] self.namespaces[4] = self.namespaces.get(4, {}) self.namespaces[4][u'ru'] = [u'League of Legends Wiki'] self.namespaces[4][u'fr'] = [u'Wiki League Of Legends'] self.namespaces[4][u'en'] = [u'League of Legends Wiki'] self.namespaces[4][u'de'] = [u'League of Legends Wiki'] self.namespaces[4][u'pl'] = [u'League of Legends Wiki'] self.namespaces[4][u'es'] = [u'League Of Legends Hispano Wiki'] self.namespaces[5] = self.namespaces.get(5, {}) self.namespaces[5][u'ru'] = [u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 League of Legends Wiki'] self.namespaces[5][u'fr'] = [u'Discussion Wiki League Of Legends'] self.namespaces[5][u'en'] = [u'League of Legends Wiki talk'] self.namespaces[5][u'de'] = [u'League of Legends Wiki Diskussion'] self.namespaces[5][u'pl'] = [u'Dyskusja League of Legends Wiki'] self.namespaces[5][u'es'] = [u'League Of Legends Hispano Wiki discusi\xf3n'] 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'de'] = [u'Video', u'Image', u'Bild'] self.namespaces[6][u'pl'] = [u'Video', u'Image', u'Grafika'] self.namespaces[6][u'es'] = [u'Video', u'Image', u'Imagen'] 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'de'] = [u'Video talk', u'Image talk', u'Bild Diskussion'] self.namespaces[7][u'pl'] = [u'Video talk', u'Image talk', u'Dyskusja grafiki'] self.namespaces[7][u'es'] = [u'Video talk', u'Image talk', u'Imagen Discusi\xf3n'] self.namespaces[11] = self.namespaces.get(11, {}) self.namespaces[11][u'fr'] = [u'Discussion Mod\xe8le'] self.namespaces[13] = self.namespaces.get(13, {}) self.namespaces[13][u'fr'] = [u'Discussion Aide'] self.namespaces[15] = self.namespaces.get(15, {}) self.namespaces[15][u'fr'] = [u'Discussion Cat\xe9gorie'] self.namespaces[1200] = self.namespaces.get(1200, {}) self.namespaces[1200][u'ru'] = [u'Message Wall'] self.namespaces[1200][u'fr'] = [u'Message Wall'] self.namespaces[1200][u'en'] = [u'Message Wall'] self.namespaces[1200][u'de'] = [u'Nachrichtenseite', u'Message Wall'] self.namespaces[1200][u'pl'] = [u'Tablica wiadomo\u015bci', u'Message Wall'] self.namespaces[1200][u'es'] = [u'Message Wall'] self.namespaces[1201] = self.namespaces.get(1201, {}) self.namespaces[1201][u'ru'] = [u'Thread'] self.namespaces[1201][u'fr'] = [u'Thread'] self.namespaces[1201][u'en'] = [u'Thread'] self.namespaces[1201][u'de'] = [u'Diskussionsfaden', u'Thread'] self.namespaces[1201][u'pl'] = [u'W\u0105tek', u'Thread'] self.namespaces[1201][u'es'] = [u'Thread'] self.namespaces[1202] = self.namespaces.get(1202, {}) self.namespaces[1202][u'ru'] = [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'de'] = [u'Nachrichtenseite Begr\xfc\xdfung', u'Message Wall Greeting'] self.namespaces[1202][u'pl'] = [u'Nag\u0142\xf3wek tablicy', u'Message Wall Greeting'] self.namespaces[1202][u'es'] = [u'Message Wall Greeting'] self.namespaces[1100] = self.namespaces.get(1100, {}) self.namespaces[1100][u'ru'] = [u'RelatedVideos'] self.namespaces[1100][u'fr'] = [u'RelatedVideos'] self.namespaces[1100][u'en'] = [u'RelatedVideos'] self.namespaces[1100][u'de'] = [u'VerwandteVideos', u'RelatedVideos'] self.namespaces[1100][u'pl'] = [u'Powi\u0105zane filmy', u'RelatedVideos'] self.namespaces[1100][u'es'] = [u'RelatedVideos'] self.namespaces[2000] = self.namespaces.get(2000, {}) self.namespaces[2000][u'en'] = [u'Board'] self.namespaces[2001] = self.namespaces.get(2001, {}) self.namespaces[2001][u'en'] = [u'Board Thread'] self.namespaces[2002] = self.namespaces.get(2002, {}) self.namespaces[2002][u'en'] = [u'Topic'] 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'de'] = [u'Forum'] self.namespaces[110][u'pl'] = [u'Forum'] self.namespaces[110][u'es'] = [u'Foro', 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'de'] = [u'Forum talk'] self.namespaces[111][u'pl'] = [u'Dyskusja forum', u'Forum talk'] self.namespaces[111][u'es'] = [u'Foro Discusi\xf3n', u'Forum talk'] self.namespaces[112] = self.namespaces.get(112, {}) self.namespaces[112][u'en'] = [u'Guide'] self.namespaces[113] = self.namespaces.get(113, {}) self.namespaces[113][u'en'] = [u'Guide 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'en'] = [u'User blog'] self.namespaces[500][u'de'] = [u'Benutzer Blog', u'User blog'] self.namespaces[500][u'pl'] = [u'Blog u\u017cytkownika', u'User blog'] self.namespaces[500][u'es'] = [u'Usuario Blog', u'User blog'] 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'en'] = [u'User blog comment'] self.namespaces[501][u'de'] = [u'Benutzer Blog Kommentare', u'User blog comment'] self.namespaces[501][u'pl'] = [u'Komentarz na blogu', u'User blog comment'] self.namespaces[501][u'es'] = [u'Usuario Blog Comentario', u'User blog comment'] 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'en'] = [u'Blog'] self.namespaces[502][u'de'] = [u'Blog'] self.namespaces[502][u'pl'] = [u'Blog'] self.namespaces[502][u'es'] = [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'Blog talk'] self.namespaces[503][u'en'] = [u'Blog talk'] self.namespaces[503][u'de'] = [u'Blog Diskussion', u'Blog talk'] self.namespaces[503][u'pl'] = [u'Dyskusja blogu', u'Blog talk'] self.namespaces[503][u'es'] = [u'Blog Discusi\xf3n', u'Blog talk']

def scriptpath(self, code): return { 'de': u'', 'en': u'', 'ru': u'', 'fr': u'', 'pl': u'', 'es': u'', }[code]

def version(self, code): return { 'de': u'1.19.2', 'en': u'1.19.2', 'ru': u'1.19.2', 'fr': u'1.19.2', 'pl': u'1.19.2', 'es': u'1.19.2', }[code]