alexsh | 1 Jul 08:14 2009
Picon

SVN: [7008] trunk/pywikipedia/families

Revision: 7008
Author:   alexsh
Date:     2009-07-01 06:14:26 +0000 (Wed, 01 Jul 2009)

Log Message:
-----------
Update namespaces and other infomations in gentoo, krefeldwiki, anarchopedia, freeciv and battlestarwiki

Modified Paths:
--------------
    trunk/pywikipedia/families/anarchopedia_family.py
    trunk/pywikipedia/families/battlestarwiki_family.py
    trunk/pywikipedia/families/freeciv_family.py
    trunk/pywikipedia/families/gentoo_family.py
    trunk/pywikipedia/families/krefeldwiki_family.py

Modified: trunk/pywikipedia/families/anarchopedia_family.py
===================================================================
--- trunk/pywikipedia/families/anarchopedia_family.py	2009-06-30 16:17:29 UTC (rev 7007)
+++ trunk/pywikipedia/families/anarchopedia_family.py	2009-07-01 06:14:26 UTC (rev 7008)
 <at>  <at>  -52,8 +52,12  <at>  <at> 
                 if self.namespaces[ns].has_key(interface):
                     self.namespaces[ns][code] = self.namespaces[ns][interface]

+        self.namespaces[1]['fr'] = u'Discuter'
+
+        self.namespaces[3]['fr'] = u'Discussion Utilisateur'
+
         self.namespaces[4] = {
-            '_default': [u'Anarchopedia', self.namespaces[4]['_default']],
(Continue reading)

alexsh | 1 Jul 17:15 2009
Picon

SVN: [7009] trunk/pywikipedia/families

Revision: 7009
Author:   alexsh
Date:     2009-07-01 15:15:50 +0000 (Wed, 01 Jul 2009)

Log Message:
-----------
*Delete mdc_family.py for site change software (MindTouch)
*Update families for uncyclopedia and wikiquote

Modified Paths:
--------------
    trunk/pywikipedia/families/uncyclopedia_family.py
    trunk/pywikipedia/families/wikiquote_family.py

Removed Paths:
-------------
    trunk/pywikipedia/families/mdc_family.py

Deleted: trunk/pywikipedia/families/mdc_family.py
===================================================================
--- trunk/pywikipedia/families/mdc_family.py	2009-07-01 06:14:26 UTC (rev 7008)
+++ trunk/pywikipedia/families/mdc_family.py	2009-07-01 15:15:50 UTC (rev 7009)
 <at>  <at>  -1,57 +0,0  <at>  <at> 
-# -*- coding: utf-8  -*-
-import family
-
-# The Mozilla Developer Center, Official Mozilla Documents.
-
-class Family(family.Family):
-    def __init__(self):
(Continue reading)

russblau | 1 Jul 20:19 2009
Picon

SVN: [7010] branches/rewrite/pywikibot/site.py

Revision: 7010
Author:   russblau
Date:     2009-07-01 18:19:47 +0000 (Wed, 01 Jul 2009)

Log Message:
-----------
Override dbName() to get database id from the server, not the family file.

Modified Paths:
--------------
    branches/rewrite/pywikibot/site.py

Modified: branches/rewrite/pywikibot/site.py
===================================================================
--- branches/rewrite/pywikibot/site.py	2009-07-01 15:15:50 UTC (rev 7009)
+++ branches/rewrite/pywikibot/site.py	2009-07-01 18:19:47 UTC (rev 7010)
 <at>  <at>  -895,6 +895,11  <at>  <at> 

         return self.siteinfo['case']

+    def dbName(self):
+        """Return this site's internal id."""
+
+        return self.siteinfo['wikiid']
+
     def language(self):
         """Return the code for the language of this Site."""

 <at>  <at>  -1153,7 +1158,7  <at>  <at> 
             blgen.request["gblfilterredir"] = filterRedirects and "redirects"\
(Continue reading)

alexsh | 3 Jul 18:12 2009
Picon

SVN: [7011] trunk/pywikipedia/families

Revision: 7011
Author:   alexsh
Date:     2009-07-03 16:12:57 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Update anarchopedia, omegawiki and memoryalpha

Modified Paths:
--------------
    trunk/pywikipedia/families/anarchopedia_family.py
    trunk/pywikipedia/families/memoryalpha_family.py
    trunk/pywikipedia/families/omegawiki_family.py

Modified: trunk/pywikipedia/families/anarchopedia_family.py
===================================================================
--- trunk/pywikipedia/families/anarchopedia_family.py	2009-07-01 18:19:47 UTC (rev 7010)
+++ trunk/pywikipedia/families/anarchopedia_family.py	2009-07-03 16:12:57 UTC (rev 7011)
 <at>  <at>  -8,50 +8,13  <at>  <at> 
         family.Family.__init__(self)
         self.name = 'anarchopedia'

-        interface_lang = {
-            'ara': 'ar',
-            'bos': 'sr',
-            'dan': 'da',
-            'deu': 'de',
-            'dut': 'nl',
-            'ell': 'el',
-            'eng': 'en',
(Continue reading)

alexsh | 3 Jul 21:19 2009
Picon

SVN: [7012] trunk/pywikipedia/maintenance/update_namespaces.py

Revision: 7012
Author:   alexsh
Date:     2009-07-03 19:19:00 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
*update_namespaces.py: update wikimedia families section
-Add other families.
-nomain will not work in wikimedia updating.
-resort wikimedia projects update process. First update WP, it will sync updates into main family.py.And
update other families in next,it won't sync into main family.

Modified Paths:
--------------
    trunk/pywikipedia/maintenance/update_namespaces.py

Modified: trunk/pywikipedia/maintenance/update_namespaces.py
===================================================================
--- trunk/pywikipedia/maintenance/update_namespaces.py	2009-07-03 16:12:57 UTC (rev 7011)
+++ trunk/pywikipedia/maintenance/update_namespaces.py	2009-07-03 19:19:00 UTC (rev 7012)
 <at>  <at>  -23,6 +23,7  <at>  <at> 

 r_namespace_section_main = r'(?s)self\.namespaces\s*\=\s*\{.*\s+%s\s*:\s*\{(.*?)\}'
 r_namespace_section_sub = r'(?s)self\.namespaces\[%s]\s*\=\s*\{(.*?)\}'
+r_namespace_section_once = r'(?s)self\.namespaces\[%s]\[\'%s\']\s*\=\s*\(.*?)'

 r_string = '[u]?[r]?[\'"].*?[\'"]'
 r_list = '\\[.*?\\]'
 <at>  <at>  -49,6 +50,7  <at>  <at> 
             output(u'Setting namespace[%s] for %s to %s' % (namespace_id, lang, namespace_name))
(Continue reading)

alexsh | 3 Jul 22:18 2009
Picon

SVN: [7013] trunk/pywikipedia

Revision: 7013
Author:   alexsh
Date:     2009-07-03 20:18:08 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Add be-x-old translation patch from bug #2813115

Modified Paths:
--------------
    trunk/pywikipedia/category.py
    trunk/pywikipedia/copyright.py
    trunk/pywikipedia/cosmetic_changes.py
    trunk/pywikipedia/redirect.py

Modified: trunk/pywikipedia/category.py
===================================================================
--- trunk/pywikipedia/category.py	2009-07-03 19:19:00 UTC (rev 7012)
+++ trunk/pywikipedia/category.py	2009-07-03 20:18:08 UTC (rev 7013)
 <at>  <at>  -92,6 +92,7  <at>  <at> 
 msg_add={
     'ar':u'روبوت: إضافة [[تصنيف:%s]]',
     'bat-smg':u'Robots: Pridedama [[Kateguorėjė:%s]]',
+    'be-x-old':u'Робат: дадаваньне [[Катэгорыя:%s]]',
     'ca':u'Robot: Afegint [[Categoria:%s]]',
     'da':u'Robot: Tilføjer [[Kategori:%s]]',
     'de':u'Bot: Ergänze [[Kategorie:%s]]',
 <at>  <at>  -126,6 +127,7  <at>  <at> 

 msg_change={
(Continue reading)

alexsh | 3 Jul 22:18 2009
Picon

SVN: [7014] trunk/pywikipedia/featured.py

Revision: 7014
Author:   alexsh
Date:     2009-07-03 20:18:57 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Add gv info from bug #2812028

Modified Paths:
--------------
    trunk/pywikipedia/featured.py

Modified: trunk/pywikipedia/featured.py
===================================================================
--- trunk/pywikipedia/featured.py	2009-07-03 20:18:08 UTC (rev 7013)
+++ trunk/pywikipedia/featured.py	2009-07-03 20:18:57 UTC (rev 7014)
 <at>  <at>  -156,6 +156,7  <at>  <at> 
     'fi': (CAT, u"Suositellut sivut"),
     'fo': (CAT, u"Mánaðargrein"),
     'fr': (CAT, u"Article de qualité"),
+    'gv': (CAT, u"Artyn reiht"),
     'he': (CAT, u"ערכים מומלצים"),
     'hi': (BACK, u"निर्वाचित लेख"),
     'hr': (CAT, u"Izabrani članci"),

_______________________________________________
Pywikipedia-svn mailing list
Pywikipedia-svn <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn
(Continue reading)

alexsh | 3 Jul 22:28 2009
Picon

SVN: [7015] trunk/pywikipedia

Revision: 7015
Author:   alexsh
Date:     2009-07-03 20:28:49 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Add cs translation from bug # 2800795 (I don't want to edit code by myself again...too tired)

Modified Paths:
--------------
    trunk/pywikipedia/basic.py
    trunk/pywikipedia/capitalize_redirects.py
    trunk/pywikipedia/category.py
    trunk/pywikipedia/delete.py
    trunk/pywikipedia/featured.py
    trunk/pywikipedia/fixing_redirects.py
    trunk/pywikipedia/noreferences.py
    trunk/pywikipedia/selflink.py
    trunk/pywikipedia/standardize_interwiki.py

Modified: trunk/pywikipedia/basic.py
===================================================================
--- trunk/pywikipedia/basic.py	2009-07-03 20:18:57 UTC (rev 7014)
+++ trunk/pywikipedia/basic.py	2009-07-03 20:28:49 UTC (rev 7015)
 <at>  <at>  -30,6 +30,7  <at>  <at> 
     # NOTE: Put a good description here, and add translations, if possible!
     msg = {
         'ar': u'روبوت: تغيير ...',
+        'cs': u'Robot změnil ...',
         'de': u'Bot: Ändere ...',
(Continue reading)

alexsh | 3 Jul 22:31 2009
Picon

SVN: [7016] trunk/pywikipedia

Revision: 7016
Author:   alexsh
Date:     2009-07-03 20:31:27 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
forget to save file....

Modified Paths:
--------------
    trunk/pywikipedia/delete.py
    trunk/pywikipedia/fixing_redirects.py

Modified: trunk/pywikipedia/delete.py
===================================================================
--- trunk/pywikipedia/delete.py	2009-07-03 20:28:49 UTC (rev 7015)
+++ trunk/pywikipedia/delete.py	2009-07-03 20:31:27 UTC (rev 7016)
 <at>  <at>  -35,7 +35,7  <at>  <at> 
 # Summary messages for deleting from a category.
 msg_simple_delete = {
     'ar': u'بوت: حذف قائمة من الملفات.',
-    'cs': u'',
+    'cs': u'Robot smazal podle seznamu',
     'en': u'Bot: Deleting a list of files.',
     'fr': u'Robot: Suppression d’une liste de fichiers.',
     'he': u'בוט: מוחק רשימת דפים מתוך קובץ.',
 <at>  <at>  -46,7 +46,7  <at>  <at> 
 }
 msg_delete_category = {
     'ar': u'روبوت - حذف كل الصفحات من التصنيف %s',
(Continue reading)

alexsh | 3 Jul 22:41 2009
Picon

SVN: [7017] trunk/pywikipedia

Revision: 7017
Author:   alexsh
Date:     2009-07-03 20:41:55 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Add cs translation from #bug 2800795(all done)

Modified Paths:
--------------
    trunk/pywikipedia/category_redirect.py
    trunk/pywikipedia/clean_sandbox.py
    trunk/pywikipedia/fixes.py
    trunk/pywikipedia/speedy_delete.py

Modified: trunk/pywikipedia/category_redirect.py
===================================================================
--- trunk/pywikipedia/category_redirect.py	2009-07-03 20:31:27 UTC (rev 7016)
+++ trunk/pywikipedia/category_redirect.py	2009-07-03 20:41:55 UTC (rev 7017)
 <at>  <at>  -53,6 +53,7  <at>  <at> 
         self.cat_redirect_cat = {
             'wikipedia': {
                 'ar': u"تصنيف:تحويلات تصنيفات ويكيبيديا",
+                'cs': u"Kategorie:Zastaralé kategorie",
                 'da': "Kategori:Omdirigeringskategorier",
                 'en': "Category:Wikipedia category redirects",
                 'hu': "Kategória:Kategóriaátirányítások",
 <at>  <at>  -73,6 +74,7  <at>  <at> 
                 'ar': (u"تحويل تصنيف",
                        u"Category redirect",
(Continue reading)


Gmane