http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11089
Revision: 11089
Author: amir
Date: 2013-02-20 08:43:44 +0000 (Wed, 20 Feb 2013)
Log Message:
-----------
fixing Persian comma problem (bug #3605068)
Modified Paths:
--------------
trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2013-02-19 20:11:53 UTC (rev 11088)
+++ trunk/…
[View More]pywikipedia/cosmetic_changes.py 2013-02-20 08:43:44 UTC (rev 11089)
@@ -732,12 +732,13 @@
new = digits.pop(self.site.lang)
# This only works if there are only two items in digits dict
old = digits[digits.keys()[0]]
+ faChrs = u'ءاآأإئؤبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیةيك' + u'ًٌٍَُِّْٓٔ'+u'۱۲۳۴۵۶۷۸۹۰'
# do not change inside file links
namespaces = list(self.site.namespace(6, all=True))
pattern = re.compile(u'\[\[(' + '|'.join(namespaces) + '):.+?\.\w+? *(\|((\[\[.*?\]\])|.)*)?\]\]',
re.UNICODE)
#not to let bot edits in latin content
- exceptions.append(re.compile(u"[A-Za-z\d]+? *?\"*? *?, *?[A-Za-z\d]+?"))
+ exceptions.append(re.compile(u"[^"+faChrs+u"]+? *?\"*? *?, *?[^"+faChrs+u"]+?"))
exceptions.append(pattern)
text = pywikibot.replaceExcept(text, u',', u'،', exceptions)
if self.site.lang=='ckb':
[View Less]
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11087
Revision: 11087
Author: binbot
Date: 2013-02-19 19:23:37 +0000 (Tue, 19 Feb 2013)
Log Message:
-----------
Spelling mistake
Modified Paths:
--------------
trunk/pywikipedia/ndashredir.py
Modified: trunk/pywikipedia/ndashredir.py
===================================================================
--- trunk/pywikipedia/ndashredir.py 2013-02-19 18:32:09 UTC (rev 11086)
+++ trunk/pywikipedia/ndashredir.py 2013-02-19 19:23:37 …
[View More]UTC (rev 11087)
@@ -11,7 +11,7 @@
Known parameters:
-start Will start from the given title (it does not have to exist).
- Parameter may be given as "-start" or "-start:tile"
+ Parameter may be given as "-start" or "-start:title"
Defaults to '!'.
-namespace Works in the given namespace (only one at a time). Parameter
-ns may be given as "-ns:<number>" or "-namespace:<number>".
[View Less]
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11081
Revision: 11081
Author: siebrand
Date: 2013-02-16 05:36:45 +0000 (Sat, 16 Feb 2013)
Log Message:
-----------
Localisation updates from http://translatewiki.net.
Modified Paths:
--------------
branches/rewrite/scripts/i18n/category_redirect.py
branches/rewrite/scripts/i18n/pywikibot.py
branches/rewrite/scripts/i18n/redirect.py
branches/rewrite/scripts/i18n/weblinkchecker.py
Modified: branches/rewrite/scripts/…
[View More]i18n/category_redirect.py
===================================================================
--- branches/rewrite/scripts/i18n/category_redirect.py 2013-02-15 14:29:03 UTC (rev 11080)
+++ branches/rewrite/scripts/i18n/category_redirect.py 2013-02-16 05:36:45 UTC (rev 11081)
@@ -535,11 +535,12 @@
'category_redirect-fix-double': u'Rôbô : mamaha olana ny fihodinana mampihodina mankany amina fihodinana.',
},
# Author: Luthfi94
+ # Author: Naval Scene
'min': {
'category_redirect-comment': u'Bot pamaliharaan pangalihan kategori',
'category_redirect-change-category': u'Robot: maganti kategori nan dialihan [[:%(oldCatLink)s|%(oldCatTitle)s]] manjadi [[:%(newCatLink)s|%(newCatTitle)s]]',
'category_redirect-add-template': u'Robot: manambuahkan templat pamaliharaan pangalihan kategori',
- 'category_redirect-edit-request': u'Laman nan dilindungi barikuik tadeteksi mamaraluan pambaruan untuak pranala kategori: %(itemlist)s',
+ 'category_redirect-edit-request': u'Laman nan dilinduangi barikuik ko tadeteksi mamaraluan pambaruan untuak pautan kategori: %(itemlist)s',
'category_redirect-edit-request-item': u'* %(title)s tamasuak dalam %(oldcat)s, nan marupokan pangalihan ka %(newcat)s',
'category_redirect-fix-double': u'Bot: Mampeloki pangalihan gando',
},
Modified: branches/rewrite/scripts/i18n/pywikibot.py
===================================================================
--- branches/rewrite/scripts/i18n/pywikibot.py 2013-02-15 14:29:03 UTC (rev 11080)
+++ branches/rewrite/scripts/i18n/pywikibot.py 2013-02-16 05:36:45 UTC (rev 11081)
@@ -379,10 +379,11 @@
'pywikibot-enter-finished-browser': u'Tsindrio "ENTER" rehefa tapitra ny fanovana ao amin\'ny mpitety tranonkala.',
},
# Author: Luthfi94
+ # Author: Naval Scene
'min': {
'pywikibot-enter-xml-filename': u'Masuakkan namo Berkas sarok XML:',
'pywikibot-enter-page-processing': u'Laman manokah nan harus diproses?',
- 'pywikibot-enter-file-links-processing': u'Pranala ka laman gambar manokah nan ka diproses?',
+ 'pywikibot-enter-file-links-processing': u'Pautan ka laman gambar manokah nan ka diproses?',
'pywikibot-enter-namespace-number': u'Masuakkan ruang namo manuruik nomornyo:',
'pywikibot-enter-new-text': u'Masuakkan teks baru:',
'pywikibot-enter-category-name': u'Masuakkan namo kategori:',
Modified: branches/rewrite/scripts/i18n/redirect.py
===================================================================
--- branches/rewrite/scripts/i18n/redirect.py 2013-02-15 14:29:03 UTC (rev 11080)
+++ branches/rewrite/scripts/i18n/redirect.py 2013-02-16 05:36:45 UTC (rev 11081)
@@ -511,6 +511,7 @@
'ksh': {
'redirect-fix-double': u'Bot: [[Special:Doubleredirects|Dubbel Ömlëijdong]] fottjemaat → %(to)s',
'redirect-remove-broken': u'Bot: Di Ömlëijdong jingk ennet Liiere.',
+ 'redirect-fix-broken-moved': u'Bot: De kappodde Ömleidong op de ömjenannte Sigg %(to)s es reppareert.',
'redirect-fix-loop': u'Bot: En Reih vun Ömleidonge jeng em Kreis eröm. Op %(to)s jescheck.',
'redirect-remove-loop': u'Bot: Di Ömleidunge jonn em Kreis eröm.',
'redirect-broken-redirect-template': u'{{Schmieß fott}}Di [[Wikipedia:Ömleijdung|Ömlëijdong]] jeiht noh nörjendswoh hen.',
Modified: branches/rewrite/scripts/i18n/weblinkchecker.py
===================================================================
--- branches/rewrite/scripts/i18n/weblinkchecker.py 2013-02-15 14:29:03 UTC (rev 11080)
+++ branches/rewrite/scripts/i18n/weblinkchecker.py 2013-02-16 05:36:45 UTC (rev 11081)
@@ -89,6 +89,12 @@
'weblinkchecker-summary': u'בוט: מדווח על קישור חיצוני בלתי זמין',
'weblinkchecker-report': u'במהלך מספר ריצות אוטומטיות של הבוט, נמצא שהקישור החיצוני הבא אינו זמין. אנא בדקו אם הקישור אכן שבור, ותקנו אותו או הסירו אותו במקרה זה!',
},
+ # Author: Dj
+ 'hu': {
+ 'weblinkchecker-caption': u'Halott hivatkozás',
+ 'weblinkchecker-summary': u'bot: nem elérhető külső hivatkozás jelentése',
+ 'weblinkchecker-report': u'Számos automatikus bot futtatás után az alábbi külső hivatkozás nem elérhető. Kérlek ellenőrizd, hogy a hivatkozás valóban nem elérhető, és ha így van, akkor javítsd ki vagy távolítsd el!',
+ },
'ia': {
'weblinkchecker-caption': u'Ligamine defuncte',
'weblinkchecker-summary': u'Robot: Reporto de un ligamine externe non functionante',
@@ -141,9 +147,10 @@
'weblinkchecker-summary': u'Робот: Пријавува недостапна надворешна врска',
'weblinkchecker-report': u'По неколку обиди на ботот, востановено е дека следнава надворешна врска е недостапна. Проверете дали врската е навистина мртва и, во тој случај, исправете ја или отстранете ја!',
},
+ # Author: Praveenp
# Author: Santhosh.thottingal
'ml': {
- 'weblinkchecker-caption': u'ചത്ത കണ്ണി',
+ 'weblinkchecker-caption': u'പ്രവർത്തിക്കാത്ത കണ്ണി',
},
# Author: Anakmalaysia
'ms': {
@@ -222,6 +229,13 @@
'weblinkchecker-summary': u'Robot: prijavljena neispravna spoljašnja veza',
'weblinkchecker-report': u'Pri nekoliko pokušaja bota, ustanovljeno je da sledeća spoljašnja veza nije dostupna. Proverite da li je veza uistinu neispravna i, ako jeste, ispravite je ili je uklonite.',
},
+ # Author: Tor.klingberg
+ 'sv': {
+ 'weblinkchecker-archive_msg': u'Webbsidan har sparats av Internet Archive. Överväg att länka till en lämplig arkiverad version: [%(URL)s].',
+ 'weblinkchecker-caption': u'Död länk',
+ 'weblinkchecker-summary': u'Robot: Rapporterar otillgänglig extern länk',
+ 'weblinkchecker-report': u'Följande externa länk har inte kunnat nås under flera försök av en automatisk bot. Var vänlig kontrollera om länken faktiskt är nere, och ta i så fall bort den.',
+ },
# Author: Nullzero
'th': {
'weblinkchecker-caption': u'ลิงก์เสีย',
[View Less]