[Pywikipedia-svn] SVN: [7246] trunk/pywikipedia
filnik at svn.wikimedia.org
filnik at svn.wikimedia.org
Tue Sep 15 08:34:45 UTC 2009
Revision: 7246
Author: filnik
Date: 2009-09-15 08:34:44 +0000 (Tue, 15 Sep 2009)
Log Message:
-----------
Bugfix by xqt, patch: #2800795
Modified Paths:
--------------
trunk/pywikipedia/add_text.py
trunk/pywikipedia/cosmetic_changes.py
trunk/pywikipedia/disambredir.py
trunk/pywikipedia/movepages.py
trunk/pywikipedia/redirect.py
Modified: trunk/pywikipedia/add_text.py
===================================================================
--- trunk/pywikipedia/add_text.py 2009-09-15 08:29:37 UTC (rev 7245)
+++ trunk/pywikipedia/add_text.py 2009-09-15 08:34:44 UTC (rev 7246)
@@ -60,6 +60,7 @@
msg = {
'ar': u'بوت: إضافة %s',
+ 'cs': u'Robot přidal %s',
'en': u'Bot: Adding %s',
'fr': u'Robot : Ajoute %s',
'he': u'בוט: מוסיף %s',
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2009-09-15 08:29:37 UTC (rev 7245)
+++ trunk/pywikipedia/cosmetic_changes.py 2009-09-15 08:34:44 UTC (rev 7246)
@@ -8,12 +8,13 @@
¶ms;
+-always Don't prompt you for each replacement. Warning (see below)
+ has not to be confirmed. ATTENTION: Use this with care!
+
-summary:XYZ Set the summary message text for the edit to XYZ, bypassing
the predefined message texts with original and replacements
inserted.
--always Don't prompt for each replacement.
-
All other parameters will be regarded as part of the title of a single page,
and the bot will only work on that single page.
@@ -52,6 +53,7 @@
'be-x-old': u'Робат: касмэтычныя зьмены',
'bg': u'Робот козметични промени',
'ca': u'Robot: Canvis cosmètics',
+ 'cs': u'Robotické: kosmetické úpravy',
'da': u'Bot: Kosmetiske ændringer',
'de': u'Bot: Kosmetische Änderungen',
'el': u'Ρομπότ: διακοσμητικές αλλαγές',
@@ -107,6 +109,7 @@
'be-x-old': u'; касмэтычныя зьмены',
'bg': u'; козметични промени',
'ca': u'; canvis cosmètics',
+ 'cs': u'; kosmetické úpravy',
'da': u'; kosmetiske ændringer',
'de': u'; kosmetische Änderungen',
'el': u'; διακοσμητικές αλλαγές',
@@ -471,11 +474,11 @@
for arg in wikipedia.handleArgs():
if arg.startswith('-summary:'):
editSummary = arg[len('-summary:'):]
- elif arg.startswith('-always'):
+ elif arg == '-always':
always = True
- else:
- if not genFactory.handleArg(arg):
- pageTitle.append(arg)
+ elif not genFactory.handleArg(arg):
+ pageTitle.append(arg)
+
if editSummary == '':
# Load default summary message.
editSummary = wikipedia.translate(wikipedia.getSite(), msg_standalone)
Modified: trunk/pywikipedia/disambredir.py
===================================================================
--- trunk/pywikipedia/disambredir.py 2009-09-15 08:29:37 UTC (rev 7245)
+++ trunk/pywikipedia/disambredir.py 2009-09-15 08:34:44 UTC (rev 7246)
@@ -164,5 +164,5 @@
try:
main()
finally:
- wikipedia.stopme()
+ wikipedia.stopme()
Modified: trunk/pywikipedia/movepages.py
===================================================================
--- trunk/pywikipedia/movepages.py 2009-09-15 08:29:37 UTC (rev 7245)
+++ trunk/pywikipedia/movepages.py 2009-09-15 08:34:44 UTC (rev 7246)
@@ -50,6 +50,7 @@
summary={
'ar': u'روبوت: نقل الصفحة',
+ 'cs': u'Robot přesunul stránku',
'en': u'Robot: Moved page',
'de': u'Bot: Seite verschoben',
'el': u'Μετακίνηση σελίδων με bot',
Modified: trunk/pywikipedia/redirect.py
===================================================================
--- trunk/pywikipedia/redirect.py 2009-09-15 08:29:37 UTC (rev 7245)
+++ trunk/pywikipedia/redirect.py 2009-09-15 08:34:44 UTC (rev 7246)
@@ -74,6 +74,7 @@
'bat-smg': u'Robots: Taisuoms dvėgobs paradresavėms',
'be-x-old': u'Робат: выпраўленьне падвойнага перанакіраваньня',
'br': u'Kempennet adkas doubl gant robot',
+ 'cs': u'Robot opravil dvojité přesměrování',
'de': u'Bot: Korrigiere doppelten Redirect',
'en': u'Robot: Fixing double redirect',
'es': u'Robot: Arreglando doble redirección',
@@ -117,6 +118,7 @@
reason_broken={
'ar': u'روبوت: هدف التحويلة غير موجود',
'be-x-old': u'Робат: мэта перанакіраваньня не існуе',
+ 'cs': u'Přerušené přesměrování',
'de': u'Bot: Weiterleitungsziel existiert nicht',
'en': u'Robot: Redirect target doesn\'t exist',
'es': u'Robot: La página a la que redirige no existe',
@@ -149,6 +151,7 @@
# Summary message for putting broken redirect to speedy delete
sd_tagging_sum = {
'ar': u'روبوت: وسم للحذف السريع',
+ 'cs': u'Robot označil ke smazání',
'en': u'Robot: Tagging for speedy deletion',
'it': u'Bot: +Da cancellare subito',
'ja': u'ロボットによる:迷子のリダイレクトを即時削除へ',
@@ -162,6 +165,7 @@
# Insert deletion template into page with a broken redirect
sd_template = {
'ar':u'{{شطب|تحويلة مكسورة}}',
+ 'cs': u'{{smazat|přerušené přesměrování}}',
'en':u'{{db-r1}}',
'it':u'{{Cancella subito|9}}',
'ja':u'{{即時削除|壊れたリダイレクト}}',
More information about the Pywikipedia-svn
mailing list