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: cd1caa72b02b64185d9394fff1d0d122996f5ad0 $
- Configuration parameters:
- url = https://wikidata.beta.wmflabs.org/wiki/Wikidata:Main_Page
- name = betawikidata
- 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 = 'betawikidata'
- self.langs = {
- 'en': 'wikidata.beta.wmflabs.org',
- }
- def scriptpath(self, code):
- return {
- 'en': '/w',
- }[code]
- @deprecated('APISite.version()')
- def version(self, code):
- return {
- 'en': u'1.29.0-alpha',
- }[code]
- def protocol(self, code):
- return {
- 'en': u'https',
- }[code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement