Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- This family file was auto-generated by $Id: 4993fd66518a2c61c49b9e1bdf8f4b622459ee34 $
- Configuration parameters:
- url = http://dota2.gamepedia.com/
- name = dota2
- Please do not commit this to the Git repository!
- """
- from pywikibot import family
- from pywikibot.tools import deprecated
- class Family(family.Family):
- def __init__(self):
- family.Family.__init__(self)
- self.name = 'dota2'
- self.langs = {
- 'de': 'dota2-de.gamepedia.com',
- 'en': 'dota2.gamepedia.com',
- 'pt': 'dota2-pt.gamepedia.com',
- 'ru': 'dota2-ru.gamepedia.com',
- 'zh': 'dota2-zh.gamepedia.com',
- }
- def scriptpath(self, code):
- return {
- 'de': '',
- 'en': '',
- 'pt': '',
- 'ru': '',
- 'zh': '',
- }[code]
- @deprecated('APISite.version()')
- def version(self, code):
- return {
- 'en': u'1.26.2',
- }[code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement