[Pywikipedia-l] SVN: [6110] trunk/pywikipedia/redirect.py

purodha at svn.wikimedia.org purodha at svn.wikimedia.org
Fri Nov 21 10:43:34 UTC 2008


Revision: 6110
Author:   purodha
Date:     2008-11-21 10:43:34 +0000 (Fri, 21 Nov 2008)

Log Message:
-----------
Hardcoded limit of 1000 double redirects lifted, better use user-config.py setting.
2 ksh messages added.
--This line, and those below, will be ignored--

M    redirect.py

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

Modified: trunk/pywikipedia/redirect.py
===================================================================
--- trunk/pywikipedia/redirect.py	2008-11-20 14:36:09 UTC (rev 6109)
+++ trunk/pywikipedia/redirect.py	2008-11-21 10:43:34 UTC (rev 6110)
@@ -120,6 +120,7 @@
     'ar': u'روبوت: وسم للحذف السريع',
     'en': u'Robot: Tagging for speedy deletion',
     'ja': u'ロボットによる:迷子のリダイレクトを即時削除へ',
+    'ksh':u'Bot: Di Ömlëijdong jeiht noh nörjendwoh.',
     'zh':u'機器人: 將損壞的重定向提報快速刪除',
 }
 
@@ -128,6 +129,7 @@
     'ar':u'{{شطب|تحويلة مكسورة}}',
     'en':u'{{db-r1}}',
     'ja':u'{{即時削除|壊れたリダイレクト}}',
+    'ksh':u'{{Schmieß fott}}Di Ömlëijdong jeiht noh nörjendwoh hen.<br />--~~~~~',
     'zh':u'{{delete|R1}}',
 }
 
@@ -246,7 +248,7 @@
             mysite = wikipedia.getSite()
             # retrieve information from the live wiki's maintenance page
             # double redirect maintenance page's URL
-            wikipedia.config.special_page_limit = 1000
+            # wikipedia.config.special_page_limit = 1000
             path = mysite.double_redirects_address(default_limit = False)
             wikipedia.output(u'Retrieving special page...')
             maintenance_txt = mysite.getUrl(path)





More information about the Pywikipedia-l mailing list