jenkins-bot has submitted this change and it was merged.
Change subject: remove obsolete catlib import
......................................................................
remove obsolete catlib import
Change-Id: I4ee205976e55217ecdb3d7de992bcc32c2892191
---
M pywikibot/textlib.py
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
Pyfisch: Looks good to me, but someone else must approve
Aaron1011: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 751634c..f858931 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -643,7 +643,6 @@
#---------------------------------------
def getCategoryLinks(text, site=None):
- from . import catlib
"""Return a list of category links found in text.
List contains Category objects.
--
To view, visit https://gerrit.wikimedia.org/r/104041
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4ee205976e55217ecdb3d7de992bcc32c2892191
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Aaron1011 <aa1ronham(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Pyfisch <pyfisch(a)googlemail.com>
Gerrit-Reviewer: Russell Blau <russblau(a)imapmail.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change and it was merged.
Change subject: Convert protect.py to i18n
......................................................................
Convert protect.py to i18n
Change-Id: I83ddec7299f266bb47da7b95fe60c7244b53dadc
---
A protect.py
1 file changed, 60 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/protect.py b/protect.py
new file mode 100644
index 0000000..459d568
--- /dev/null
+++ b/protect.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+msg = {
+ 'en': {
+ 'protect-simple': u'Robot: Protecting a list of files.',
+ 'protect-category': u'Robot: Protecting all pages from category %(cat)s',
+ 'protect-links': u'Robot: Protecting all pages linked from %(page)s',
+ 'protect-ref': u'Robot: Protecting all pages referring from %(page)s',
+ 'protect-images': u'Robot: Protecting all images on page %(page)s',
+ },
+ # Author: Geoffrey "GEOFBOT" Mon
+ 'qqq': {
+ 'protect-simple': u'Edit summary when the bot protects a list of files.',
+ 'protect-category': u'Edit summary when the bot protects all pages from a category (%(cat)s).',
+ 'protect-links': u'Edit summary when the bot protects all pages linked from a page (%(page)s).',
+ 'protect-ref': u'Edit summary when the bot protects all pages referring from a page (%(page)s).',
+ 'protect-images': u'Edit summary when the bot protects all images on a page (%(page)s).',
+ },
+ 'ar': {
+ 'protect-simple': u'بوت: حماية قائمة من الملفات.',
+ 'protect-category': u'روبوت - حماية كل الصفحات من التصنيف %(cat)s',
+ 'protect-links': u'روبوت - حماية كل الصفحات الموصولة من %(page)s',
+ 'protect-ref': u'روبوت - حماية كل الصفحات الراجعة من %(page)s',
+ 'protect-images': u'روبوت - حماية كل الصور في الصفحة %(page)s',
+ },
+ 'it': {
+ 'protect-simple': u'Bot: Protezione di una lista di pagine.',
+ 'protect-category': u'Bot: Protezione di tutte le pagine nella categoria %(cat)s.',
+ 'protect-links': u'Bot: Protezione di tutte le pagine linkate da %(page)s.',
+ 'protect-ref': u'Bot: Protezione di tutte le pagine con link verso %(page)s.',
+ 'protect-images': u'Bot: Protezione di tutte le immagini presenti in %page)s.',
+ },
+ 'fa': {
+ 'protect-simple': u'ربات:حفاظت فهرستی از صفحهها',
+ 'protect-category': u'ربات:حفاظت تمام صفحههای رده %(cat)s',
+ 'protect-links': u'ربات:حفاظت تمام صفحههایی که در %(page)s پیوند شدهاند.',
+ 'protect-ref': u'ربات:حفاظت تمام صفحههایی که به %(page)s پیوند دادهاند',
+ 'protect-images': u'ربات:حفاظت تمام تصاویر به کار رفته در %(page)s',
+ },
+ 'nl': {
+ 'protect-simple': u'Bot: lijst met bestanden beveiligd',
+ 'protect-category': u'Bot: alle pagina\'s uit categorie %(cat)s beveiligd',
+ 'protect-links': u'Bot: alle pagina\'s met verwijzingen vanaf %(page)s beveiligd',
+ 'protect-ref': u'Bot: alle pagina\'s met een verwijzing op %(page)s beveiligd',
+ 'protect-images': u'Bot: alle bestanden gebruikt op %(page)s beveiligd',
+ },
+ 'pt': {
+ 'protect-simple': u'Bot: Protegendo uma lista de artigos.',
+ 'protect-category': u'Bot: Protegendo todos os artigos da categoria %(cat)s',
+ 'protect-links': u'Bot: Protegendo todos os artigos ligados a %(page)s',
+ 'protect-ref': u'Bot: Protegendo todos os artigos afluentes a %(page)s',
+ 'protect-images': u'Bot: Protegendo todas as imagens do artigo %(page)',
+ },
+ 'zh': {
+ 'protect-simple': u'機器人:保護清單中的所有檔案',
+ 'protect-category': u'機器人: 保護目錄 %(cat)s 的所有頁面',
+ 'protect-links': u'機器人: 保護所有從 %(page)s 連結的頁面',
+ 'protect-ref': u'機器人: 保護所有連至 %(page)s 的頁面',
+ 'protect-images': u'機器人: 保護頁面 %(page)s 中的所有圖條',
+ },
+};
--
To view, visit https://gerrit.wikimedia.org/r/104047
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I83ddec7299f266bb47da7b95fe60c7244b53dadc
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Owner: Sn1per <geofbot(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
jenkins-bot has submitted this change and it was merged.
Change subject: [CONFIG] new mw release 1.23wmf7
......................................................................
[CONFIG] new mw release 1.23wmf7
Change-Id: Ia95e54b035776b1a8b245bef26b96727af7b0762
---
M pywikibot/family.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py
index e2db194..d976c8b 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -1065,7 +1065,7 @@
"""Return Wikimedia projects version number as a string."""
# Don't use this, use versionnumber() instead. This only exists
# to not break family files.
- return '1.23wmf4'
+ return '1.23wmf7'
def shared_image_repository(self, code):
return ('commons', 'commons')
--
To view, visit https://gerrit.wikimedia.org/r/104032
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia95e54b035776b1a8b245bef26b96727af7b0762
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot