[Pywikipedia-l] SVN: [4679] trunk/pywikipedia/families

rotem at svn.wikimedia.org rotem at svn.wikimedia.org
Sun Dec 9 20:01:50 UTC 2007


Revision: 4679
Author:   rotem
Date:     2007-12-09 20:01:44 +0000 (Sun, 09 Dec 2007)

Log Message:
-----------
Updating the commons, meta, incubator, mediawiki, species and test family files.

Modified Paths:
--------------
    trunk/pywikipedia/families/commons_family.py
    trunk/pywikipedia/families/incubator_family.py
    trunk/pywikipedia/families/mediawiki_family.py
    trunk/pywikipedia/families/meta_family.py
    trunk/pywikipedia/families/species_family.py
    trunk/pywikipedia/families/test_family.py
    trunk/pywikipedia/families/wikibooks_family.py
    trunk/pywikipedia/families/wikipedia_family.py

Modified: trunk/pywikipedia/families/commons_family.py
===================================================================
--- trunk/pywikipedia/families/commons_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/commons_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -7,14 +7,13 @@
 # The Wikimedia Commons family
 
 class Family(family.Family):
-    
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'commons'
         self.langs = {
             'commons': 'commons.wikimedia.org',
         }
-        
+
         self.namespaces[4] = {
             '_default': [u'Commons', self.namespaces[4]['_default']],
         }
@@ -31,7 +30,7 @@
         self.interwiki_forward = 'wikipedia'
 
     def version(self, code):
-        return "1.11alpha"
-    
+        return "1.12alpha"
+
     def shared_image_repository(self, code):
         return ('commons', 'commons')

Modified: trunk/pywikipedia/families/incubator_family.py
===================================================================
--- trunk/pywikipedia/families/incubator_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/incubator_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -7,23 +7,28 @@
 # The Wikimedia Incubator family
 
 class Family(family.Family):
-    
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'incubator'
         self.langs = {
             'incubator': 'incubator.wikimedia.org',
         }
-        
+
         self.namespaces[4] = {
             '_default': [u'Incubator', self.namespaces[4]['_default']],
         }
         self.namespaces[5] = {
             '_default': [u'Incubator talk', self.namespaces[5]['_default']],
         }
+        self.namespaces[100] = {
+            '_default': u'Lost',
+        }
+        self.namespaces[101] = {
+            '_default': u'Lost talk',
+        }
 
     def version(self, code):
-        return "1.11alpha"
+        return "1.12alpha"
 
     def shared_image_repository(self, code):
         return ('commons', 'commons')

Modified: trunk/pywikipedia/families/mediawiki_family.py
===================================================================
--- trunk/pywikipedia/families/mediawiki_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/mediawiki_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -7,25 +7,36 @@
 # The MediaWiki family
 # user-config.py: usernames['mediawiki']['mediawiki'] = 'User name'
 
-
 class Family(family.Family):
     def __init__(self):
-
         family.Family.__init__(self)
         self.name = 'mediawiki'
 
         self.langs = {
             'mediawiki': 'www.mediawiki.org',
         }
-        
+
         self.namespaces[4] = {
             '_default': [u'Project', self.namespaces[4]['_default']],
         }
         self.namespaces[5] = {
             '_default': [u'Project talk', self.namespaces[5]['_default']],
         }
+        self.namespaces[100] = {
+            '_default': u'Manual',
+        }
+        self.namespaces[101] = {
+            '_default': u'Manual talk',
+        }
+        self.namespaces[102] = {
+            '_default': u'Extension',
+        }
+        self.namespaces[103] = {
+            '_default': u'Extension talk',
+        }
 
     def version(self, code):
-        return "1.11"
+        return "1.12alpha"
+
     def shared_image_repository(self, code):
         return ('commons', 'commons')

Modified: trunk/pywikipedia/families/meta_family.py
===================================================================
--- trunk/pywikipedia/families/meta_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/meta_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -4,7 +4,7 @@
 
 import family
 
-# The meta family
+# The meta wikimedia family
 
 class Family(family.Family):
     def __init__(self):
@@ -13,17 +13,120 @@
         self.langs = {
             'meta': 'meta.wikimedia.org',
            }
-        
+
         self.namespaces[4] = {
             '_default': [u'Meta', self.namespaces[4]['_default']],
         }
         self.namespaces[5] = {
             '_default': [u'Meta talk', self.namespaces[5]['_default']],
         }
+        self.namespaces[100] = {
+            '_default': u'Hilfe',
+        }
+        self.namespaces[101] = {
+            '_default': u'Hilfe Diskussion',
+        }
+        self.namespaces[102] = {
+            '_default': u'Aide',
+        }
+        self.namespaces[103] = {
+            '_default': u'Discussion Aide',
+        }
+        self.namespaces[104] = {
+            '_default': u'Hjælp',
+        }
+        self.namespaces[105] = {
+            '_default': u'Hjælp diskussion',
+        }
+        self.namespaces[106] = {
+            '_default': u'Helpo',
+        }
+        self.namespaces[107] = {
+            '_default': u'Helpa diskuto',
+        }
+        self.namespaces[108] = {
+            '_default': u'Hjälp',
+        }
+        self.namespaces[109] = {
+            '_default': u'Hjälp diskussion',
+        }
+        self.namespaces[110] = {
+            '_default': u'Ayuda',
+        }
+        self.namespaces[111] = {
+            '_default': u'Ayuda Discusión',
+        }
+        self.namespaces[112] = {
+            '_default': u'Aiuto',
+        }
+        self.namespaces[113] = {
+            '_default': u'Discussioni aiuto',
+        }
+        self.namespaces[114] = {
+            '_default': u'ヘルプ',
+        }
+        self.namespaces[115] = {
+            '_default': u'ヘルプ‐ノート',
+        }
+        self.namespaces[116] = {
+            '_default': u'NL Help',
+        }
+        self.namespaces[117] = {
+            '_default': u'Overleg help',
+        }
+        self.namespaces[118] = {
+            '_default': u'Pomoc',
+        }
+        self.namespaces[119] = {
+            '_default': u'Dyskusja pomocy',
+        }
+        self.namespaces[120] = {
+            '_default': u'Ajuda',
+        }
+        self.namespaces[121] = {
+            '_default': u'Ajuda Discussão',
+        }
+        self.namespaces[122] = {
+            '_default': u'CA Ajuda',
+        }
+        self.namespaces[123] = {
+            '_default': u'CA Ajuda Discussió',
+        }
+        self.namespaces[124] = {
+            '_default': u'Hjelp',
+        }
+        self.namespaces[125] = {
+            '_default': u'Hjelp diskusjon',
+        }
+        self.namespaces[126] = {
+            '_default': u'帮助',
+        }
+        self.namespaces[127] = {
+            '_default': u'帮助 对话',
+        }
+        self.namespaces[128] = {
+            '_default': u'Помощь',
+        }
+        self.namespaces[129] = {
+            '_default': u'Помощь Дискуссия',
+        }
+        self.namespaces[130] = {
+            '_default': u'Pomoč',
+        }
+        self.namespaces[131] = {
+            '_default': u'Pogovor o pomoči',
+        }
+        self.namespaces[132] = {
+            '_default': u'مساعدة',
+        }
+        self.namespaces[133] = {
+            '_default': u'نقاش المساعدة',
+        }
 
         self.interwiki_forward = 'wikipedia'
 
     def version(self,code):
-        return "1.11"
+        return "1.12alpha"
+
     def shared_image_repository(self, code):
         return ('commons', 'commons')

Modified: trunk/pywikipedia/families/species_family.py
===================================================================
--- trunk/pywikipedia/families/species_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/species_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -4,7 +4,7 @@
 
 import family
 
-# The species family
+# The wikispecies family
 
 class Family(family.Family):
     def __init__(self):
@@ -13,7 +13,7 @@
         self.langs = {
             'species': 'species.wikimedia.org',
            }
-        
+
         self.namespaces[4] = {
             '_default': [u'Wikispecies', self.namespaces[4]['_default']],
         }
@@ -24,6 +24,7 @@
         self.interwiki_forward = 'wikipedia'
 
     def version(self,code):
-        return "1.11"
+        return "1.12alpha"
+
     def shared_image_repository(self, code):
         return ('commons', 'commons')

Modified: trunk/pywikipedia/families/test_family.py
===================================================================
--- trunk/pywikipedia/families/test_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/test_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -2,7 +2,7 @@
 
 import family
 
-# The test family
+# The test wikipedia family
 
 class Family(family.Family):
     def __init__(self):
@@ -11,7 +11,7 @@
         self.langs = {
             'test': 'test.wikipedia.org',
            }
-        
+
         self.namespaces[4] = {
             '_default': [u'Wikipedia', self.namespaces[4]['_default']],
         }
@@ -20,4 +20,4 @@
         }
 
     def version(self, code):
-        return "1.11alpha"
+        return "1.12alpha"

Modified: trunk/pywikipedia/families/wikibooks_family.py
===================================================================
--- trunk/pywikipedia/families/wikibooks_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/wikibooks_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -7,7 +7,6 @@
 # The wikimedia family that is known as Wikibooks
 
 class Family(family.Family):
-
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'wikibooks'

Modified: trunk/pywikipedia/families/wikipedia_family.py
===================================================================
--- trunk/pywikipedia/families/wikipedia_family.py	2007-12-09 19:48:54 UTC (rev 4678)
+++ trunk/pywikipedia/families/wikipedia_family.py	2007-12-09 20:01:44 UTC (rev 4679)
@@ -8,7 +8,6 @@
 # The Wikimedia family that is known as Wikipedia, the Free Encyclopedia
 
 class Family(family.Family):
-
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'wikipedia'





More information about the Pywikipedia-l mailing list