jenkins-bot has submitted this change and it was merged.
Change subject: Remove family file for wikis that are inaccessible ......................................................................
Remove family file for wikis that are inaccessible
Change-Id: If57de48a7aabd9e9ae87368b003babbf10c5f195 --- D families/celtic_family.py D families/twcareer_family.py D families/ubuntutw_family.py D families/wesolve_family.py D families/wikibond_family.py 5 files changed, 0 insertions(+), 223 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/families/celtic_family.py b/families/celtic_family.py deleted file mode 100644 index c3b7543..0000000 --- a/families/celtic_family.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -import family - -# CeltIKI - The Celtic Encyclopedia - -class Family(family.Family): - def __init__(self): - family.Family.__init__(self) - - self.name = 'celtic' - - self.langs = { - 'eml': 'celtic.gdr-online.eu', - } - self.namespaces[4] = { - 'eml': u'CeltIKI', - } - self.namespaces[5] = { - 'eml': u'Discussioni CeltIKI', - } - self.namespaces[6] = { - 'eml': u'Immagine', - } - self.namespaces[7] = { - 'eml': u'Discussioni immagine', - } - - - def version(self, code): - return "1.11.0" diff --git a/families/twcareer_family.py b/families/twcareer_family.py deleted file mode 100644 index 184a25f..0000000 --- a/families/twcareer_family.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- - -import family - -class Family(family.Family): - - def __init__(self): - - family.Family.__init__(self) - self.name = 'twcareer' - - self.langs = { - 'zh': None, - } - - self.namespaces[4] = { - '_default': u'TwCareer', - } - - self.namespaces[5] = { - '_default': u'TwCareer talk', - } - - self.namespaces[6] = { - '_default': u'Image', - } - - self.namespaces[7] = { - '_default': u'Image talk', - } - - def hostname(self, code): - return 'www.twcareer.com' - - def version(self, code): - return "1.11.0" - - def scriptpath(self, code): - return '' diff --git a/families/ubuntutw_family.py b/families/ubuntutw_family.py deleted file mode 100644 index fb2b385..0000000 --- a/families/ubuntutw_family.py +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf-8 -*- - -import family - -class Family(family.Family): - - def __init__(self): - - family.Family.__init__(self) - self.name = 'ubuntutw' #Set the family name; this should be the same as in the filename. - - self.langs = { - 'zh': None, - } - - self.namespaces[-2] = { - '_default': u'媒體', - } - - self.namespaces[-1] = { - '_default': u'特殊', - } - - self.namespaces[1] = { - '_default': u'討論', - 'zh': u'使用者討論', - } - - self.namespaces[2] = { - '_default': u'使用者', - } - - self.namespaces[3] = { - '_default': u'討論', - 'zh': u'使用者討論', - } - - self.namespaces[4] = { - '_default': u'Ubuntu 正體中文 Wiki', - } - - self.namespaces[5] = { - '_default': u'Ubuntu 正體中文 Wiki對話', - } - - self.namespaces[6] = { - '_default': u'圖片', - } - - self.namespaces[7] = { - '_default': u'圖片討論', - } - - self.namespaces[10] = { - '_default': u'模板', - } - - self.namespaces[11] = { - '_default': u'模板討論', - } - - self.namespaces[12] = { - '_default': u'使用說明', - } - - self.namespaces[13] = { - '_default': u'使用說明討論', - } - - self.namespaces[14] = { - '_default': u'分類', - } - - self.namespaces[15] = { - '_default': u'分類討論', - } - - def hostname(self, code): - return 'wiki.ubuntu-tw.org' - - def version(self, code): - return "1.12.0" - - def scriptpath(self, code): - return '' diff --git a/families/wesolve_family.py b/families/wesolve_family.py deleted file mode 100644 index ed03e60..0000000 --- a/families/wesolve_family.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- - -import family, wikipedia - -# The wikimedia family that is known as Wesolve - -class UploadDisabled(wikipedia.Error): - """Uploads are disabled on this wiki""" - -class Family(family.Family): - def __init__(self): - family.Family.__init__(self) - self.name = 'wesolve' - self.langs = { - 'wesolve': None, - } - - self.namespaces[4] = { - '_default': u'Wordsandmore', - } - self.namespaces[5] = { - '_default': u'Wordsandmore talk', - } - - - def version(self, code): - return "1.5.7" - - def scriptpath(self, code): - return '' - - def hostname(self, code): - return 'wordsandmore.org' - - def apipath(self, code): - raise NotImplementedError( - "The wesolve family does not support api.php") diff --git a/families/wikibond_family.py b/families/wikibond_family.py deleted file mode 100644 index 59caad4..0000000 --- a/families/wikibond_family.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -import family - -# I added this becouse someone asked me to. -# The url op the wiki: nl.wikibond.org - -class Family(family.Family): - - def __init__(self): - family.Family.__init__(self) - self.name = 'wikibond' - self.langs = { - 'nl': 'nl.wikibond.org', - } - self.namespaces[4] = { - 'nl': [u'WikiBond'], - } - self.namespaces[5] = { - 'nl': [u'Overleg WikiBond'], - } - - def scriptpath(self, code): - return '/wikibond' - - def version(self, code): - return "1.11alpha" - - def apipath(self, code): - raise NotImplementedError( - "The wikibond family does not support api.php")
pywikibot-commits@lists.wikimedia.org