Revision: 5087
Author: russblau
Date: 2008-02-27 20:05:28 +0000 (Wed, 27 Feb 2008)
Log Message:
-----------
Merging to trunk; and revising import statements for new framework.
Modified Paths:
--------------
branches/rewrite/pywikibot/families/anarchopedia_family.py
branches/rewrite/pywikibot/families/battlestarwiki_family.py
branches/rewrite/pywikibot/families/betawiki_family.py
branches/rewrite/pywikibot/families/botwiki_family.py
branches/rewrite/pywikibot/families/commons_family.py
branches/rewrite/pywikibot/families/freeciv_family.py
branches/rewrite/pywikibot/families/gentoo_family.py
branches/rewrite/pywikibot/families/i18n_family.py
branches/rewrite/pywikibot/families/incubator_family.py
branches/rewrite/pywikibot/families/krefeldwiki_family.py
branches/rewrite/pywikibot/families/loveto_family.py
branches/rewrite/pywikibot/families/lyricwiki_family.py
branches/rewrite/pywikibot/families/mac_wikicities_family.py
branches/rewrite/pywikibot/families/mdc_family.py
branches/rewrite/pywikibot/families/mediawiki_family.py
branches/rewrite/pywikibot/families/memoryalpha_family.py
branches/rewrite/pywikibot/families/meta_family.py
branches/rewrite/pywikibot/families/mozilla_family.py
branches/rewrite/pywikibot/families/omegawiki_family.py
branches/rewrite/pywikibot/families/openttd_family.py
branches/rewrite/pywikibot/families/pakanto_family.py
branches/rewrite/pywikibot/families/southernapproach_family.py
branches/rewrite/pywikibot/families/species_family.py
branches/rewrite/pywikibot/families/supertux_family.py
branches/rewrite/pywikibot/families/test_family.py
branches/rewrite/pywikibot/families/uncyclopedia_family.py
branches/rewrite/pywikibot/families/wesolve_family.py
branches/rewrite/pywikibot/families/wikia_family.py
branches/rewrite/pywikibot/families/wikibond_family.py
branches/rewrite/pywikibot/families/wikibooks_family.py
branches/rewrite/pywikibot/families/wikinews_family.py
branches/rewrite/pywikibot/families/wikipedia_family.py
branches/rewrite/pywikibot/families/wikiquote_family.py
branches/rewrite/pywikibot/families/wikisource_family.py
branches/rewrite/pywikibot/families/wikitech_family.py
branches/rewrite/pywikibot/families/wikitravel_family.py
branches/rewrite/pywikibot/families/wikitravel_shared_family.py
branches/rewrite/pywikibot/families/wikiversity_family.py
branches/rewrite/pywikibot/families/wiktionary_family.py
Modified: branches/rewrite/pywikibot/families/anarchopedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/anarchopedia_family.py 2008-02-27 15:22:51 UTC
(rev 5086)
+++ branches/rewrite/pywikibot/families/anarchopedia_family.py 2008-02-27 20:05:28 UTC
(rev 5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Anarchopedia family
Modified: branches/rewrite/pywikibot/families/battlestarwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/battlestarwiki_family.py 2008-02-27 15:22:51 UTC
(rev 5086)
+++ branches/rewrite/pywikibot/families/battlestarwiki_family.py 2008-02-27 20:05:28 UTC
(rev 5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Battlestar Wiki family, a set of Battlestar wikis.
#
http://battlestarwiki.org/
Modified: branches/rewrite/pywikibot/families/betawiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/betawiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/betawiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The official Beta Wiki.
class Family(family.Family):
Modified: branches/rewrite/pywikibot/families/botwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/botwiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/botwiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# Bot wiki - the (semi-)official pywikipedia wiki
Modified: branches/rewrite/pywikibot/families/commons_family.py
===================================================================
--- branches/rewrite/pywikibot/families/commons_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/commons_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The Wikimedia Commons family
Modified: branches/rewrite/pywikibot/families/freeciv_family.py
===================================================================
--- branches/rewrite/pywikibot/families/freeciv_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/freeciv_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The project wiki of Freeciv, an open source strategy game.
@@ -27,20 +27,26 @@
self.namespaces[5] = {
'_default': u'Freeciv talk',
+ 'da': u'Freeciv-diskussion',
+ 'de': u'Freeciv Diskussion',
+ 'es': u'Freeciv Discusión',
'fi': u'Keskustelu FreeCiv wiki Suomalaisillesta',
+ 'fr': u'Discussion Freeciv',
}
- self.namespaces[8]['fi'] = u'MediaWiki'
+ self.namespaces[8]['fi'] = u'Järjestelmäviesti'
- self.namespaces[9]['da'] = u'MediaWiki diskussion'
- self.namespaces[9]['fi'] = u'MediaWiki talk'
+ self.namespaces[9]['da'] = u'MediaWiki-diskussion'
+ self.namespaces[9]['fi'] = u'Keskustelu järjestelmäviestistä'
self.namespaces[110] = {
'_default': u'Forum',
+ 'fi': u'Foorumi',
}
self.namespaces[111] = {
'_default': u'Forum talk',
+ 'fi': u'Keskustelu foorumista',
}
def scriptpath(self, code):
Modified: branches/rewrite/pywikibot/families/gentoo_family.py
===================================================================
--- branches/rewrite/pywikibot/families/gentoo_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/gentoo_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
Modified: branches/rewrite/pywikibot/families/i18n_family.py
===================================================================
--- branches/rewrite/pywikibot/families/i18n_family.py 2008-02-27 15:22:51 UTC (rev 5086)
+++ branches/rewrite/pywikibot/families/i18n_family.py 2008-02-27 20:05:28 UTC (rev 5087)
@@ -2,7 +2,7 @@
__version__ = '$Id: incubator_family.py 4068 2007-08-18 13:10:09Z btongminh $'
-import family
+from pywikibot import family
# The Wikimedia i18n family (should be called Betawiki, but already exists)
Modified: branches/rewrite/pywikibot/families/incubator_family.py
===================================================================
--- branches/rewrite/pywikibot/families/incubator_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/incubator_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The Wikimedia Incubator family
Modified: branches/rewrite/pywikibot/families/krefeldwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/krefeldwiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/krefeldwiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The city wiki of Krefeld, Germany, Europe.
Modified: branches/rewrite/pywikibot/families/loveto_family.py
===================================================================
--- branches/rewrite/pywikibot/families/loveto_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/loveto_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Lovetoknow internal family, for lovetoknow wikis, including those
# not yet open to the public.
Modified: branches/rewrite/pywikibot/families/lyricwiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/lyricwiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/lyricwiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The LyricWiki family
Modified: branches/rewrite/pywikibot/families/mac_wikicities_family.py
===================================================================
--- branches/rewrite/pywikibot/families/mac_wikicities_family.py 2008-02-27 15:22:51 UTC
(rev 5086)
+++ branches/rewrite/pywikibot/families/mac_wikicities_family.py 2008-02-27 20:05:28 UTC
(rev 5087)
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
-import family, config
+from pywikibot import family
+import config
class Family(family.Family):
def __init__(self):
@@ -19,12 +20,25 @@
# Most namespaces are inherited from family.Family.
self.namespaces[4] = {
'_default': [u'WikiMac',
self.namespaces[4]['_default']],
+ 'id': u'Indonesia Macintosh Society',
+ 'zh': u'维基麦',
}
self.namespaces[5] = {
'_default': [u'WikiMac talk',
self.namespaces[5]['_default']],
'de': u'WikiMac Diskussion',
+ 'es': u'WikiMac Discusión',
+ 'fr': u'Discussion WikiMac',
+ 'id': u'Pembicaraan Indonesia Macintosh Society',
+ 'it': u'Discussioni WikiMac',
+ 'zh': u'维基麦 talk',
}
+ self.namespaces[110] = {
+ '_default': u'Forum',
+ }
+ self.namespaces[111] = {
+ '_default': u'Forum talk',
+ }
# A few selected big languages for things that we do not want to loop over
# all languages. This is only needed by the titletranslate.py module, so
# if you carefully avoid the options, you could get away without these
Modified: branches/rewrite/pywikibot/families/mdc_family.py
===================================================================
--- branches/rewrite/pywikibot/families/mdc_family.py 2008-02-27 15:22:51 UTC (rev 5086)
+++ branches/rewrite/pywikibot/families/mdc_family.py 2008-02-27 20:05:28 UTC (rev 5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Mozilla Developer Center, Official Mozilla Documents.
Modified: branches/rewrite/pywikibot/families/mediawiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/mediawiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/mediawiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The MediaWiki family
# user-config.py: usernames['mediawiki']['mediawiki'] = 'User
name'
Modified: branches/rewrite/pywikibot/families/memoryalpha_family.py
===================================================================
--- branches/rewrite/pywikibot/families/memoryalpha_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/memoryalpha_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Memory Alpha family, a set of StarTrek wikis.
Modified: branches/rewrite/pywikibot/families/meta_family.py
===================================================================
--- branches/rewrite/pywikibot/families/meta_family.py 2008-02-27 15:22:51 UTC (rev 5086)
+++ branches/rewrite/pywikibot/families/meta_family.py 2008-02-27 20:05:28 UTC (rev 5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The meta wikimedia family
Modified: branches/rewrite/pywikibot/families/mozilla_family.py
===================================================================
--- branches/rewrite/pywikibot/families/mozilla_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/mozilla_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The official Mozilla Wiki.
Modified: branches/rewrite/pywikibot/families/omegawiki_family.py
===================================================================
--- branches/rewrite/pywikibot/families/omegawiki_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/omegawiki_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# Omegawiki, the Ultimate online dictionary
Modified: branches/rewrite/pywikibot/families/openttd_family.py
===================================================================
--- branches/rewrite/pywikibot/families/openttd_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/openttd_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The project wiki of OpenTTD, an open source game (Transport Tycoon Deluxe clone).
Modified: branches/rewrite/pywikibot/families/pakanto_family.py
===================================================================
--- branches/rewrite/pywikibot/families/pakanto_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/pakanto_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The Pakanto wiki, a project to maintain Linux package descriptions
Modified: branches/rewrite/pywikibot/families/southernapproach_family.py
===================================================================
--- branches/rewrite/pywikibot/families/southernapproach_family.py 2008-02-27 15:22:51 UTC
(rev 5086)
+++ branches/rewrite/pywikibot/families/southernapproach_family.py 2008-02-27 20:05:28 UTC
(rev 5087)
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
-import family, config
+from pywikibot import family
+import config
# ZRHwiki, formerly known as SouthernApproachWiki, a wiki about Zürich Airport.
Modified: branches/rewrite/pywikibot/families/species_family.py
===================================================================
--- branches/rewrite/pywikibot/families/species_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/species_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The wikispecies family
Modified: branches/rewrite/pywikibot/families/supertux_family.py
===================================================================
--- branches/rewrite/pywikibot/families/supertux_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/supertux_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The project wiki of SuperTux, an open source arcade game.
Modified: branches/rewrite/pywikibot/families/test_family.py
===================================================================
--- branches/rewrite/pywikibot/families/test_family.py 2008-02-27 15:22:51 UTC (rev 5086)
+++ branches/rewrite/pywikibot/families/test_family.py 2008-02-27 20:05:28 UTC (rev 5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The test wikipedia family
Modified: branches/rewrite/pywikibot/families/uncyclopedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/uncyclopedia_family.py 2008-02-27 15:22:51 UTC
(rev 5086)
+++ branches/rewrite/pywikibot/families/uncyclopedia_family.py 2008-02-27 20:05:28 UTC
(rev 5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# The Uncyclopaedia family, a satirical set of encyclopaedia wikis.
#
Modified: branches/rewrite/pywikibot/families/wesolve_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wesolve_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wesolve_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
import urllib
-import family, wikipedia
+from pywikibot import family
+import wikipedia
# The wikimedia family that is known as Wesolve
Modified: branches/rewrite/pywikibot/families/wikia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikia_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikia_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -2,7 +2,7 @@
__version__ = '$Id: $'
-import family
+from pywikibot import family
# The Wikia Search family
# user-config.py: usernames['wikia']['wikia'] = 'User name'
Modified: branches/rewrite/pywikibot/families/wikibond_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikibond_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikibond_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# I added this becouse someone asked me to.
# The url op the wiki:
nl.wikibond.org
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikibooks_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikibooks_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
-# The wikimedia family that is known as Wikibooks
+# The Wikimedia family that is known as Wikibooks
class Family(family.Family):
def __init__(self):
@@ -12,14 +13,14 @@
self.name = 'wikibooks'
self.languages_by_size = [
- 'en', 'de', 'pt', 'fr', 'hu',
'es', 'it', 'ja', 'pl', 'nl',
+ 'en', 'de', 'fr', 'pt', 'hu',
'es', 'it', 'ja', 'pl', 'nl',
'he', 'sq', 'fi', 'sv', 'hr',
'da', 'vi', 'mk', 'cs', 'ru',
'zh', 'fa', 'is', 'id', 'ta',
'tr', 'no', 'ar', 'eo', 'ko',
- 'ka', 'bg', 'lt', 'ca', 'th',
'gl', 'simple', 'sk', 'ia', 'ro',
+ 'ka', 'bg', 'ca', 'lt', 'th',
'gl', 'simple', 'ro', 'sk', 'ia',
'sr', 'ang', 'mr', 'uk', 'sl',
'als', 'et', 'oc', 'el', 'ur',
- 'la', 'ml', 'cv', 'ie', 'hi',
'fy', 'lv', 'hy', 'eu', 'ky',
- 'pa', 'bn', 'bs', 'tl', 'be',
'ms', 'tg', 'te', 'af', 'cy',
- 'ast', 'tt', 'az', 'ku', 'mg',
'si', 'co', 'sa', 'sw', 'tk',
+ 'la', 'ml', 'cv', 'ie', 'hi',
'fy', 'lv', 'hy', 'eu', 'pa',
+ 'ky', 'bn', 'tl', 'bs', 'be',
'ms', 'tg', 'te', 'af', 'cy',
+ 'ast', 'tt', 'sa', 'az', 'mg',
'ku', 'si', 'co', 'sw', 'tk',
'ne', 'qu', 'bm', 'ak', 'vo',
'uz', 'ks', 'bo', 'gu', 'su',
'na', 'se', 'ps', 'kn', 'kk',
'zh-min-nan', 'ay', 'lb', 'got', 'nah',
'as', 'aa', 'mn', 'ch', 'gn',
'ln', 'ug', 'km', 'yo', 'nds',
Modified: branches/rewrite/pywikibot/families/wikinews_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikinews_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikinews_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
-# The Wikimedia family that is known as WikiNews
+# The Wikimedia family that is known as Wikinews
class Family(family.Family):
def __init__(self):
@@ -14,7 +14,7 @@
self.languages_by_size = [
'en', 'pl', 'de', 'it', 'fr',
'es', 'pt', 'sv', 'ja', 'zh',
- 'sr', 'ru', 'nl', 'he', 'uk',
'ca', 'fi', 'ro', 'no', 'th',
+ 'sr', 'ru', 'nl', 'he', 'uk',
'fi', 'ca', 'ro', 'no', 'th',
'ar', 'bs', 'bg', 'ta', 'sd',
]
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikipedia_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikipedia_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
@@ -14,30 +14,30 @@
self.languages_by_size = [
'en', 'de', 'fr', 'pl', 'ja',
'it', 'nl', 'pt', 'es', 'sv',
- 'ru', 'zh', 'no', 'fi', 'vo',
'ca', 'ro', 'tr', 'eo', 'uk',
- 'cs', 'sk', 'hu', 'da', 'id',
'he', 'lt', 'sr', 'sl', 'ar',
+ 'ru', 'zh', 'no', 'fi', 'vo',
'ca', 'ro', 'tr', 'uk', 'eo',
+ 'cs', 'hu', 'sk', 'da', 'id',
'he', 'lt', 'sr', 'sl', 'ar',
'ko', 'bg', 'et', 'new', 'hr',
'te', 'ceb', 'gl', 'th', 'el',
'fa', 'vi', 'nn', 'ms', 'simple',
'eu', 'bpy', 'bs', 'lb', 'ka',
- 'is', 'sq', 'br', 'la', 'az',
'bn', 'hi', 'mr', 'tl', 'io',
- 'sh', 'mk', 'cy', 'pms', 'su',
'lv', 'ta', 'nap', 'jv', 'nds',
- 'scn', 'oc', 'ast', 'ku', 'wa',
'ht', 'be', 'af', 'tg', 'be-x-old',
- 'an', 'roa-tara', 'ksh', 'vec',
'zh-yue', 'cv', 'fy', 'ur', 'sw', 'uz',
- 'yo', 'mi', 'qu', 'ga', 'bat-smg',
'ml', 'co', 'kn', 'gd', 'hsb',
- 'yi', 'pam', 'nah', 'lmo', 'tt',
'ia', 'sa', 'li', 'hy', 'als',
- 'roa-rup', 'map-bms', 'am', 'pag',
'nrm', 'zh-min-nan', 'fo', 'vls', 'se',
'nds-nl',
- 'war', 'ne', 'fur', 'bh', 'lij',
'nov', 'pi', 'dv', 'ilo', 'sco',
- 'rm', 'diq', 'frp', 'zh-classical',
'kk', 'mt', 'os', 'pdc', 'lad', 'csb',
- 'kw', 'wuu', 'fiu-vro', 'to', 'bar',
'ps', 'mn', 'haw', 'ang', 'ln',
- 'tk', 'ie', 'km', 'jbo', 'crh',
'tpi', 'wo', 'eml', 'ig', 'or',
- 'zea', 'mg', 'ty', 'kg', 'glk',
'cbk-zam', 'si', 'ky', 'ay', 'arc',
- 'sc', 'gu', 'kab', 'ks', 'so',
'gn', 'cu', 'udm', 'tet', 'mzn',
- 'gv', 'sd', 'pa', 'ba', 'rmy',
'na', 'iu', 'lo', 'bo', 'got',
- 'chr', 'ce', 'stq', 'om', 'ug',
'sm', 'bcl', 'ee', 'ti', 'as',
- 'hak', 'cdo', 'av', 'bm', 'zu',
'nv', 'dsb', 'pih', 'my', 'pap',
- 'cr', 've', 'rw', 'ss', 'xh',
'kl', 'tlh', 'ik', 'dz', 'ts',
- 'bi', 'kv', 'bug', 'xal', 'st',
'tn', 'ch', 'ak', 'bxr', 'tw',
- 'ab', 'fj', 'ny', 'lbe', 'za',
'ff', 'tum', 'sn', 'ha', 'sg',
- 'lg', 'ki', 'rn', 'chy', 'aa',
'mh', 'ng',
+ 'is', 'sq', 'br', 'la', 'az',
'bn', 'hi', 'mr', 'tl', 'mk',
+ 'sh', 'io', 'cy', 'pms', 'su',
'lv', 'ta', 'nap', 'jv', 'ht',
+ 'nds', 'scn', 'oc', 'ast', 'ku',
'wa', 'be', 'af', 'tg', 'be-x-old',
+ 'an', 'roa-tara', 'vec', 'ksh',
'zh-yue', 'cv', 'fy', 'ur', 'sw', 'yo',
+ 'uz', 'mi', 'qu', 'ga', 'bat-smg',
'ml', 'co', 'kn', 'gd', 'hsb',
+ 'yi', 'pam', 'nah', 'tt', 'ia',
'sa', 'li', 'hy', 'als', 'roa-rup',
+ 'lmo', 'map-bms', 'am', 'pag',
'zh-min-nan', 'nrm', 'fo', 'vls', 'se',
'nds-nl',
+ 'war', 'ne', 'wuu', 'fur', 'bh',
'lij', 'rm', 'nov', 'dv', 'pi',
+ 'ilo', 'sco', 'diq', 'frp',
'zh-classical', 'kk', 'mt', 'os', 'lad',
'pdc',
+ 'csb', 'kw', 'fiu-vro', 'bar', 'to',
'ps', 'haw', 'mn', 'ang', 'ln',
+ 'tk', 'km', 'ie', 'crh', 'jbo',
'tpi', 'wo', 'eml', 'or', 'zea',
+ 'ig', 'mg', 'ty', 'ay', 'kg',
'glk', 'cbk-zam', 'si', 'ky', 'arc',
+ 'sc', 'gu', 'kab', 'ks', 'so',
'gn', 'mzn', 'gv', 'cu', 'udm',
+ 'tet', 'sd', 'pa', 'ba', 'rmy',
'na', 'iu', 'lo', 'ce', 'bo',
+ 'got', 'stq', 'chr', 'om', 'ug',
'sm', 'bcl', 'hak', 'ee', 'ti',
+ 'as', 'cdo', 'av', 'bm', 'zu',
'dsb', 'nv', 'my', 'pih', 'pap',
+ 'cr', 've', 'rw', 'xh', 'ss',
'kl', 'ik', 'dz', 'ts', 'bug',
+ 'bi', 'kv', 'xal', 'st', 'tn',
'ch', 'ak', 'bxr', 'ny', 'tw',
+ 'ab', 'fj', 'lbe', 'za', 'ff',
'tum', 'sn', 'ha', 'sg', 'lg',
+ 'ki', 'rn', 'chy', 'aa', 'mh',
'ng',
]
for lang in self.languages_by_size:
@@ -82,6 +82,7 @@
'fur': u'Vichipedie',
'fy': u'Wikipedy',
'ga': u'Vicipéid',
+ 'gn': u'Vikipetã',
'gu': u'વિકિપીડિયા',
'he': u'ויקיפדיה',
'hi': u'विकिपीडिया',
@@ -89,6 +90,7 @@
'hsb': u'Wikipedija',
'ht': u'Wikipedya',
'hu': u'Wikipédia',
+ 'hy': u'Վիքիփեդիա',
'io': u'Wikipedio',
'ka': u'ვიკიპედია',
'kk': u'Уикипедия',
@@ -180,7 +182,7 @@
'ga': u'Plé Vicipéide',
'gl': u'Conversa Wikipedia',
'glk': u'بحث Wikipedia',
- 'gn': u'Wikipedia Discusión',
+ 'gn': u'Vikipetã myangekõi',
'gu': u'વિકિપીડિયા talk',
'he': u'שיחת ויקיפדיה',
'hi': u'विकिपीडिया वार्ता',
@@ -188,7 +190,7 @@
'hsb': u'Wikipedija diskusija',
'ht': u'Diskisyon Wikipedya',
'hu': u'Wikipédia vita',
- 'hy': u'Wikipedia քննարկում',
+ 'hy': u'Վիքիփեդիայի քննարկում',
'ia': u'Discussion Wikipedia',
'id': u'Pembicaraan Wikipedia',
'io': u'Wikipedio Debato',
@@ -279,6 +281,7 @@
self.namespaces[100] = {
'als': u'Portal',
'ar': u'بوابة',
+ 'bg': u'Портал',
'bpy': u'হমিলদুৱার',
'ca': u'Portal',
'cs': u'Portál',
@@ -342,6 +345,7 @@
self.namespaces[101] = {
'als': u'Portal Diskussion',
'ar': u'نقاش البوابة',
+ 'bg': u'Портал беседа',
'bpy': u'হমিলদুৱার য়্যারী',
'ca': u'Portal Discussió',
'cs': u'Portál diskuse',
@@ -516,6 +520,7 @@
'ko': [u'Disambig', u'동음이의', u'동음이의어'],
'ku': [u'Cudakirin'],
'kw': [u'Klerheans'],
+ 'ksh': [u'Disambig', u'disambig'],
'la': [u'Discretiva'],
'lb': [u'Homonymie', u'Disambig'],
'li': [u'Verdudeliking', u'Verdudelikingpazjena',
u'Vp'],
@@ -614,6 +619,7 @@
'kw': u'Folennow klerheans',
'ko': u'동음이의어 문서',
'ku': u'Rûpelên cudakirinê',
+ 'ksh': u'Woot met mieh wi ëijnem Senn',
'la': u'Discretiva',
'lb': u'Homonymie',
'li': u'Verdudelikingspazjena',
@@ -727,7 +733,7 @@
'he': ['en'],
'hu': ['en'],
'lb': self.alphabetic_lb,
- 'nds': ['nds-nl','pdt'] + self.alphabetic, # Note: as
of 2008-01-16, pdt: (Plattdeutsch) is still in the Incubator.
+ 'nds': ['nds-nl','pdt'] + self.alphabetic, # Note: as
of 2008-02-24, pdt: (Plautdietsch) is still in the Incubator.
'nn': ['no','nb','sv','da'] +
self.alphabetic,
'no': self.alphabetic,
'pl': self.alphabetic,
@@ -751,6 +757,7 @@
'nb': 'no',
'jp': 'ja',
'ru-sib': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Si…
+ 'tlh': None,
'tokipona': None,
'zh-tw': 'zh',
'zh-cn': 'zh'
Modified: branches/rewrite/pywikibot/families/wikiquote_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikiquote_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikiquote_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
-# The wikimedia family that is known as Wikiquote
+# The Wikimedia family that is known as Wikiquote
class Family(family.Family):
def __init__(self):
@@ -13,11 +14,11 @@
self.languages_by_size = [
'en', 'de', 'it', 'pl', 'sk',
'pt', 'ru', 'bg', 'bs', 'sl',
- 'es', 'tr', 'he', 'zh', 'lt',
'fr', 'cs', 'id', 'el', 'uk',
+ 'es', 'tr', 'he', 'zh', 'fr',
'lt', 'cs', 'id', 'el', 'uk',
'sv', 'hu', 'ja', 'no', 'nl',
'fa', 'fi', 'ca', 'ku', 'ar',
- 'eo', 'ro', 'hr', 'gl', 'ko',
'af', 'is', 'et', 'nn', 'li',
+ 'eo', 'ro', 'hr', 'gl', 'ko',
'is', 'af', 'et', 'nn', 'li',
'ka', 'sr', 'ml', 'da', 'th',
'simple', 'vi', 'sq', 'te',
- 'la', 'br', 'eu', 'hi', 'az',
'ast', 'uz', 'be', 'ang',
+ 'la', 'az', 'br', 'eu', 'hi',
'ast', 'uz', 'be', 'ang',
'zh-min-nan', 'lb', 'mr', 'su', 'ur',
'kn', 'ta', 'wo', 'ky', 'gu',
'cy', 'hy', 'am', 'tt', 'co',
'qu', 'bm', 'ug', 'kw', 'na',
'tk', 'vo', 'ga', 'kr', 'nds',
'cr', 'kk', 'ks', 'za', 'als',
Modified: branches/rewrite/pywikibot/families/wikisource_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikisource_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikisource_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,9 +1,11 @@
# -*- coding: utf-8 -*-
-import family, config
+import urllib
+from pywikibot import family
+import config
__version__ = '$Id$'
-# The wikimedia family that is known as Wikisource
+# The Wikimedia family that is known as Wikisource
class Family(family.Family):
def __init__(self):
Modified: branches/rewrite/pywikibot/families/wikitech_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikitech_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikitech_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import family
+from pywikibot import family
# Wikitech site
Modified: branches/rewrite/pywikibot/families/wikitravel_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikitravel_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikitravel_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,4 +1,5 @@
-import family, config
+from pywikibot import family
+import config
# The wikitravel family
Modified: branches/rewrite/pywikibot/families/wikitravel_shared_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikitravel_shared_family.py 2008-02-27 15:22:51
UTC (rev 5086)
+++ branches/rewrite/pywikibot/families/wikitravel_shared_family.py 2008-02-27 20:05:28
UTC (rev 5087)
@@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family
+from pywikibot import family
# The Wikitravel shared family
Modified: branches/rewrite/pywikibot/families/wikiversity_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikiversity_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wikiversity_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
-# The wikimedia family that is known as Wikiversity
+# The Wikimedia family that is known as Wikiversity
class Family(family.Family):
def __init__(self):
Modified: branches/rewrite/pywikibot/families/wiktionary_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wiktionary_family.py 2008-02-27 15:22:51 UTC (rev
5086)
+++ branches/rewrite/pywikibot/families/wiktionary_family.py 2008-02-27 20:05:28 UTC (rev
5087)
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-
import urllib
-import family, config
+from pywikibot import family
+import config
__version__ = '$Id$'
@@ -14,18 +14,18 @@
self.languages_by_size = [
'fr', 'en', 'vi', 'tr', 'ru',
'io', 'zh', 'el', 'ar', 'pl',
- 'fi', 'it', 'de', 'sv', 'hu',
'pt', 'ku', 'ko', 'id', 'te',
- 'es', 'nl', 'ja', 'bg', 'lt',
'vo', 'gl', 'li', 'et', 'sr',
+ 'fi', 'it', 'de', 'hu', 'sv',
'pt', 'ku', 'ko', 'id', 'te',
+ 'es', 'nl', 'ja', 'lt', 'bg',
'vo', 'gl', 'li', 'et', 'sr',
'fa', 'is', 'ro', 'af', 'scn',
'br', 'sl', 'ta', 'hy', 'zh-min-nan',
- 'no', 'he', 'la', 'sq', 'ur',
'da', 'simple', 'ca', 'ast', 'tlh',
- 'fy', 'cs', 'uk', 'hr', 'sw',
'oc', 'ang', 'kk', 'ml', 'hi',
- 'ia', 'csb', 'co', 'st', 'sk',
'eo', 'kl', 'nds', 'ky', 'ms',
- 'sd', 'ug', 'az', 'th', 'ga',
'tt', 'ti', 'gu', 'mk', 'tl',
- 'ts', 'fo', 'qu', 'rw', 'cy',
'bs', 'mr', 'su', 'ie', 'chr',
- 'an', 'am', 'yi', 'wo', 'kn',
'mn', 'nah', 'gd', 'be', 'pa',
- 'lv', 'zu', 'nn', 'km', 'ps',
'mi', 'so', 'dv', 'bn', 'tg',
+ 'no', 'he', 'la', 'sq', 'ur',
'simple', 'da', 'ca', 'ast', 'tlh',
+ 'fy', 'uk', 'cs', 'hr', 'sw',
'oc', 'ang', 'kk', 'ml', 'hi',
+ 'ia', 'co', 'csb', 'st', 'eo',
'sk', 'kl', 'nds', 'ms', 'ky',
+ 'ug', 'sd', 'ga', 'az', 'th',
'tt', 'mk', 'ti', 'gu', 'tl',
+ 'ts', 'fo', 'qu', 'rw', 'cy',
'bs', 'mr', 'su', 'an', 'ie',
+ 'chr', 'am', 'yi', 'wo', 'kn',
'mn', 'nah', 'gd', 'be', 'pa',
+ 'lv', 'zu', 'nn', 'km', 'ps',
'mi', 'so', 'dv', 'tg', 'bn',
'mg', 'ha', 'ka', 'na', 'sa',
'gv', 'tpi', 'ay', 'ss', 'eu',
- 'ne', 'jbo', 'uz', 'tn', 'gn',
'as', 'mt', 'ch', 'jv', 'pi',
+ 'ne', 'jbo', 'uz', 'gn', 'tn',
'ch', 'as', 'mt', 'jv', 'pi',
'sh', 'lb', 'ks', 'tk', 'iu',
'sg', 'fj', 'als', 'xh', 'ik',
'kw', 'ln', 'sm', 'si', 'za',
'roa-rup', 'mh', 'ba', 'or', 'sn',
'ak', 'bh', 'lo', 'bm', 'yo',
'bi', 'to', 'aa', 'av', 'rn',