MelancholieBot
Joined 29 October 2008
(Redirected from Wikispecies:Bots/Requests for approval/MelancholieBot)
Mi estas la roboto de Vikipediisto:Melancholie
=> Lernu Esperanton! <=
- User:MelancholieBot is a pure interwiki bot, using PyWikipedia framework!
- User:MelancholieBot is operated from medium-sized Wikipedias (like eo, als, yi)
- User:MelancholieBot is flagged on several wikis, see that list...
- python interwiki.py -start:! -autonomous -noauto -nobacklink -noshownew
- python interwiki.py -continue -same -force -autonomous -noauto -nobacklink -noshownew
species_family.py (rudimental):
# -*- coding: utf-8 -*-
__version__ = '$Id$'
import family, config
# The wikispecies family
class Family(family.Family):
def __init__(self):
family.Family.__init__(self)
self.name = 'species'
self.languages_by_size = [
'en', 'de', 'fr', 'pl', 'ja', 'it', 'nl', 'es', 'pt', 'ru',
'sv', 'zh', 'no', 'fi', 'ca', 'uk', 'hu', 'tr', 'cs', 'ro',
'vo', 'eo', 'da', 'sk', 'id', 'ko', 'ar', 'vi', 'he', 'lt',
'sr', 'sl', 'bg', 'et', 'fa', 'hr', 'simple', 'new', 'ht', 'nn',
'gl', 'th', 'ms', 'el', 'te', 'eu', 'ceb', 'hi', 'mk', 'ka',
'la', 'br', 'bs', 'lb', 'is', 'az', 'cy', 'sq', 'mr', 'sh',
'bpy', 'lv', 'tl', 'pms', 'be-x-old', 'jv', 'bn', 'oc', 'ta', 'io',
'be', 'an', 'scn', 'nds', 'su', 'nap', 'ku', 'sw', 'af', 'fy',
'ast', 'zh-yue', 'bat-smg', 'wa', 'war', 'ur', 'qu', 'ml', 'ksh', 'cv',
'tg', 'ga', 'vec', 'roa-tara', 'gu', 'gd', 'uz', 'pam', 'kn', 'yi',
'mi', 'lmo', 'yo', 'zh-min-nan', 'nah', 'glk', 'co', 'hsb', 'roa-rup', 'kk',
'als', 'ia', 'li', 'hy', 'sah', 'bcl', 'gan', 'tt', 'tk', 'sa',
'nds-nl', 'wuu', 'os', 'fo', 'vls', 'arz', 'fiu-vro', 'nrm', 'am', 'pag',
'rm', 'map-bms', 'dv', 'mn', 'gv', 'se', 'diq', 'fur', 'ne', 'sco',
'bar', 'lij', 'nov', 'bh', 'mt', 'ilo', 'pi', 'mzn', 'zh-classical', 'csb',
'ug', 'km', 'frp', 'lad', 'si', 'kw', 'ang', 'sc', 'pdc', 'haw',
'mg', 'to', 'kv', 'my', 'szl', 'pa', 'ps', 'myv', 'ie', 'gn',
'hif', 'ln', 'stq', 'jbo', 'wo', 'arc', 'crh', 'tpi', 'ty', 'ext',
'cbk-zam', 'ky', 'hak', 'eml', 'zea', 'srn', 'ay', 'pap', 'so', 'kg',
'ig', 'or', 'kab', 'lo', 'udm', 'rmy', 'ba', 'dsb', 'ce', 'sm',
'av', 'nv', 'cu', 'ks', 'tet', 'got', 'kaa', 'bo', 'sd', 'mdf',
'iu', 'na', 'bm', 'as', 'cdo', 'kl', 'pnt', 'chr', 'ee', 'om',
'pih', 'ab', 'zu', 'ti', 'ts', 'ss', 'za', 'bi', 'ha', 'cr',
'dz', 'xal', 've', 'ch', 'xh', 'tn', 'bug', 'ik', 'bxr', 'rw',
'st', 'tw', 'chy', 'ak', 'fj', 'ny', 'ff', 'sn', 'sg', 'lbe',
'lg', 'rn', 'ki', 'tum', 'ng', 'mhr', 'ckb', 'pnb', 'mwl', 'ace'
]
self.langs = {
'species': 'species.wikimedia.org',
}
if config.SSL_connection:
self.langs['species'] = None
for lang in self.languages_by_size:
self.langs[lang] = None
else:
for lang in self.languages_by_size:
self.langs[lang] = '%s.wikipedia.org' % lang
self.namespaces[4] = {
'_default': [u'Wikispecies', self.namespaces[4]['_default']],
}
self.namespaces[5] = {
'_default': [u'Wikispecies talk', self.namespaces[5]['_default']],
}
self.interwiki_forward = 'wikipedia'
def version(self,code):
return '1.16alpha-wmf'
def shared_image_repository(self, code):
return ('commons', 'commons')
if config.SSL_connection:
def hostname(self, code):
return 'secure.wikimedia.org'
def protocol(self, code):
return 'https'
def scriptpath(self, code):
return '/wikipedia/species/w'
def nicepath(self, code):
return '/wikipedia/species/wiki/'