Advertisement
Guest User

Untitled

a guest
Jun 7th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.80 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. """
  3. This family file was auto-generated by generate_family_file.py script.
  4.  
  5. Configuration parameters:
  6.  url = [REDACTED]/index.php
  7.  name = famwiki
  8.  
  9. Please do not commit this to the Git repository!
  10. """
  11. from __future__ import absolute_import, unicode_literals
  12.  
  13. from pywikibot import family
  14. from pywikibot.tools import deprecated
  15.  
  16.  
  17. class Family(family.Family):  # noqa: D101
  18.  
  19.     name = 'famwiki'
  20.     langs = {
  21.         'en': '[REDACTED.com]',
  22.     }
  23.  
  24.     def scriptpath(self, code):
  25.         return {
  26.             'en': '',
  27.         }[code]
  28.  
  29.     @deprecated('APISite.version()')
  30.     def version(self, code):
  31.         return {
  32.             'en': u'1.30.0',
  33.         }[code]
  34.  
  35.     def protocol(self, code):
  36.         return {
  37.             'en': u'http',
  38.         }[code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement