[Pywikipedia-l] SVN: [5757] trunk/pywikipedia/families/wikipedia_family.py

nicdumz at svn.wikimedia.org nicdumz at svn.wikimedia.org
Thu Jul 24 19:52:06 UTC 2008


Revision: 5757
Author:   nicdumz
Date:     2008-07-24 19:52:06 +0000 (Thu, 24 Jul 2008)

Log Message:
-----------
Adding crossnamespace support to and from en:Help:
( see for example http://en.wikipedia.org/wiki/Help:IPA_for_Italian , equivalent of http://it.wikipedia.org/wiki/Fonologia_dell%27italiano and http://fr.wikipedia.org/wiki/Alphabet_phon%C3%A9tique_international_pour_l%27italien )

Modified Paths:
--------------
    trunk/pywikipedia/families/wikipedia_family.py

Modified: trunk/pywikipedia/families/wikipedia_family.py
===================================================================
--- trunk/pywikipedia/families/wikipedia_family.py	2008-07-24 19:48:25 UTC (rev 5756)
+++ trunk/pywikipedia/families/wikipedia_family.py	2008-07-24 19:52:06 UTC (rev 5757)
@@ -841,24 +841,27 @@
             '_default': {
                 'pt': [102], 
                 'als': [104], 
+                'en': [12],
                 'es': [104], 
                 'fr': [104], 
-                'lt': [104]
+                'lt': [104],
             }
         }
         self.crossnamespace[1] = {
             '_default': {
                 'pt': [103],
                 'als': [105], 
+                'en': [13],
                 'es': [105],
                 'fr': [105],
-                'lt': [105]
+                'lt': [105],
             }
         }
         self.crossnamespace[102] = {
             'pt': {
                 '_default': [0],
                 'als': [0, 104], 
+                'en': [0, 12],
                 'es': [0, 104], 
                 'fr': [0, 104], 
                 'lt': [0, 104]
@@ -869,6 +872,7 @@
                 '_default': [1],
                 'als': [1, 105],
                 'es': [1, 105],
+                'en': [1, 13],
                 'fr': [1, 105],
                 'lt': [1, 105]
             }
@@ -878,6 +882,10 @@
                 '_default': [0],
                 'pt': [0, 102]
             },
+            'en': {
+                '_default': [0],
+                'pt': [0, 102]
+            },
             'es': { 
                 '_default': [0],
                 'pt': [0, 102]
@@ -896,6 +904,10 @@
                 '_default': [1],
                 'pt': [0, 103]
             },
+            'en': {
+                '_default': [1],
+                'pt': [0, 103]
+            },
             'es': {
                 '_default': [1],
                 'pt': [0, 103]





More information about the Pywikipedia-l mailing list