jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/959718 )
Change subject: Localisation updates from https://translatewiki.net.
......................................................................
Localisation updates from https://translatewiki.net.
Change-Id: I8fdefccfe7310b463edcbd6266ae660756fd31fe
---
M pywikibot/pt-br.json
A replicate_wiki/pt-br.json
M checkimages/pt-br.json
3 files changed, 28 insertions(+), 2 deletions(-)
Approvals:
L10n-bot: Looks good to me, approved
jenkins-bot: Verified
diff --git a/checkimages/pt-br.json b/checkimages/pt-br.json
index 51083c3..8cb8cbd 100644
--- a/checkimages/pt-br.json
+++ b/checkimages/pt-br.json
@@ -2,13 +2,17 @@
"@metadata": {
"authors": [
"Eduardo Addad de Oliveira",
- "Eduardoaddad"
+ "Eduardoaddad",
+ "Felipe L. Ewald"
]
},
"checkimages-deletion-comment": "Bot: Adicionando %(adding)s",
"checkimages-doubles-file-comment": "Robô: O arquivo já está na wiki Commons, poderá ser eliminado",
"checkimages-doubles-head": "Arquivo duplicado",
"checkimages-doubles-talk-comment": "Robô: Notificar que o arquivo já existe na wiki Commons",
+ "checkimages-doubles-talk-text": "Obrigado por fazer o upload de %(upload)s. No entanto, esse arquivo é uma cópia de: %(image)s. O Bot marcou como duplicato o arquivo que foi considerado menos usado ou mais recente. Se você considerar mais apropriado deixar o arquivo marcado para ser excluído imediatamente, sinta-se à vontade para excluir os arquivos duplicados e remover o modelo de exclusão do arquivo a ser deixado. Esta é uma mensagem automatizada de %(bot)s.",
+ "checkimages-forced-mode": "('''mode forçado''')",
+ "checkimages-has-duplicates": "tem os seguintes duplicados%(force)s:",
"checkimages-log-comment": "Robô: Atualizando registro",
"checkimages-no-license-head": "Imagem sem licença",
"checkimages-source-tag-comment": "Robô: Marcação de um arquivo sem etiquetas carregado recentemente",
diff --git a/pywikibot/pt-br.json b/pywikibot/pt-br.json
index 059328e..f4b5286 100644
--- a/pywikibot/pt-br.json
+++ b/pywikibot/pt-br.json
@@ -3,6 +3,7 @@
"authors": [
"Eduardo Addad de Oliveira",
"Eduardoaddad",
+ "Felipe L. Ewald",
"Giro720",
555
]
@@ -16,7 +17,7 @@
"pywikibot-enter-new-text": "Insira o novo texto:",
"pywikibot-enter-page-processing": "Qual página deve ser processada?",
"pywikibot-enter-xml-filename": "Insira o nome de arquivo do dump em XML:",
- "pywikibot-fixes-fckeditor": "Robô: Corrigindo o HTML gerado pelo editor visual.",
+ "pywikibot-fixes-fckeditor": "Robô: Corrigindo o HTML gerado pelo editor visual",
"pywikibot-fixes-isbn": "Bot: Formatando ISBN",
"pywikibot-fixes-html": "Robô: Conversão ou correção de HTML",
"pywikibot-fixes-syntax": "Robô: Correção da sintaxe wiki",
diff --git a/replicate_wiki/pt-br.json b/replicate_wiki/pt-br.json
new file mode 100644
index 0000000..1edf950
--- /dev/null
+++ b/replicate_wiki/pt-br.json
@@ -0,0 +1,12 @@
+{
+ "@metadata": {
+ "authors": [
+ "Felipe L. Ewald"
+ ]
+ },
+ "replicate_wiki-headline": "Páginas que diferem da original",
+ "replicate_wiki-missing-users": "Administradores do original que não estão aqui",
+ "replicate_wiki-same-pages": "Todas as páginas importantes são a mesma",
+ "replicate_wiki-same-users": "Todos os usuários do original também estão presentes nesta wiki",
+ "replicate_wiki-summary": "Bot: Sincronização da Wiki de %(source)s"
+}
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/959718
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Change-Id: I8fdefccfe7310b463edcbd6266ae660756fd31fe
Gerrit-Change-Number: 959718
Gerrit-PatchSet: 1
Gerrit-Owner: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959185 )
Change subject: [tests] Speedup script_tests
......................................................................
[tests] Speedup script_tests
Do not collect scripts for 'TestScriptGenerator' it they are in
'_expected_failures' set
Change-Id: Ie42f4ba2e3297657302744de5a7a7694804f10ae
---
M tests/script_tests.py
1 file changed, 15 insertions(+), 1 deletion(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/tests/script_tests.py b/tests/script_tests.py
index d60ce6c..435683e 100755
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -306,13 +306,15 @@
.format(script_name, arguments))
if script_name in dct['_expected_failures']:
+ if name == 'TestScriptGenerator':
+ continue # do not test it
dct[test_name] = unittest.expectedFailure(dct[test_name])
elif script_name in dct['_allowed_failures']:
dct[test_name] = unittest.skip(
'{} is in _allowed_failures set'
.format(script_name))(dct[test_name])
elif script_name in failed_dep_script_set \
- and arguments == '-simulate':
+ and name == 'TestScriptSimulate':
dct[test_name] = unittest.skip(
'{} has dependencies; skipping'
.format(script_name))(dct[test_name])
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959185
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie42f4ba2e3297657302744de5a7a7694804f10ae
Gerrit-Change-Number: 959185
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959244 )
Change subject: [8.4.0.dev3] Update master branch
......................................................................
[8.4.0.dev3] Update master branch
Change-Id: Iad131b3a127594419fb82dd8320d92c785f5352b
---
M ROADMAP.rst
M pywikibot/__metadata__.py
M HISTORY.rst
M pywikibot/site/_apisite.py
4 files changed, 22 insertions(+), 6 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Verified; Looks good to me, approved
diff --git a/HISTORY.rst b/HISTORY.rst
index 3be84a5..30e2456 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,12 +1,21 @@
Release history
===============
+8.3.3
+-----
+*20. September 2023*
+
+* Extract code and family from dbname in :meth:`site.APISite.fromDBName()
+ <pywikibot.site._apisite.APISite.fromDBName>` (:phab:`T345036`)
+* L10N and i18n updates
+
+
8.3.2
-----
*29. August 2023*
* Add support for tlywiki (:phab:`T345172`)
-* i18n updates
+* L10N and i18n updates
8.3.1
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 20647e7..9814645 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -6,12 +6,10 @@
method became a staticmethod (:phab:`T306637`)
* raise ValueError when :class:`pywikibot.FilePage` title doesn't have a valid file extension (:phab:`T345786`)
* :attr:`site.APISite.file_extensions <pywikibot.site._apisite.APISite.file_extensions>` property was added (:phab:`T345786`)
-* Extract code and family from dbname in :meth:`site.APISite.fromDBName()
- <pywikibot.site._apisite.APISite.fromDBName>` (:phab:`T345036`)
* ``dropdelay`` and ``releasepid`` attributes of :class:`throttle.Throttle` where deprecated
in favour of `expiry` class attribute
* Add https scheme if missing in url asked by :mod:`pywikibot.scripts.generate_family_file`
-* i18n updates
+* L10N updates and i18n updates
* use inline re.IGNORECASE flag in :func:`textlib.case_escape` function (:phab:`T308265`)
* Convert URL-encoded characters also for links outside main namespace with
:meth:`cosmetic_changes.CosmeticChangesToolkit.cleanUpLinks` (:phab:`T342470`)
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index dce7f31..99bdf96 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -11,7 +11,7 @@
__name__ = 'pywikibot'
-__version__ = '8.4.0.dev2'
+__version__ = '8.4.0.dev3'
__description__ = 'Python MediaWiki Bot Framework'
__maintainer__ = 'The Pywikibot team'
__maintainer_email__ = 'pywikibot(a)lists.wikimedia.org'
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 99be28c..33d1752 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -191,7 +191,7 @@
) -> BaseSite:
"""Create a site from a database name using the sitematrix.
- .. versionchanged:: 8.4
+ .. versionchanged:: 8.3.3
changed from classmethod to staticmethod.
:param dbname: database name
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959244
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iad131b3a127594419fb82dd8320d92c785f5352b
Gerrit-Change-Number: 959244
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959196 )
Change subject: [tests] 'user' does not have to be in groups of API:Allusers
......................................................................
[tests] 'user' does not have to be in groups of API:Allusers
change test to '*' content.
Bug: T346886
Change-Id: I7cc59c4ef4a63ede639363e32a8a06ff6e3fccc6
---
M tests/site_generators_tests.py
1 file changed, 13 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/site_generators_tests.py b/tests/site_generators_tests.py
index 6fd90f2..a2513b3 100755
--- a/tests/site_generators_tests.py
+++ b/tests/site_generators_tests.py
@@ -701,7 +701,7 @@
self.assertIn('name', user)
self.assertIn('editcount', user)
self.assertIn('registration', user)
- self.assertIn('user', user['groups'])
+ self.assertIn('*', user['groups'])
def test_allusers_with_start(self):
"""Test the site.allusers(start=..) method."""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959196
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I7cc59c4ef4a63ede639363e32a8a06ff6e3fccc6
Gerrit-Change-Number: 959196
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959180 )
Change subject: [doc] Fix misspelling
......................................................................
[doc] Fix misspelling
Change-Id: I13bc6febb237215436f56602469e342cb0cd3517
---
M tests/script_tests.py
1 file changed, 10 insertions(+), 1 deletion(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/tests/script_tests.py b/tests/script_tests.py
index a224317..d60ce6c 100755
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -349,7 +349,7 @@
class TestScriptSimulate(DefaultSiteTestCase, PwbTestCase,
metaclass=ScriptTestMeta):
- """Test cases for running scripts with -siumlate.
+ """Test cases for running scripts with -simulate.
This class sets the 'user' attribute on every test, thereby ensuring
that the test runner has a username for the default site, and so that
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/959180
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I13bc6febb237215436f56602469e342cb0cd3517
Gerrit-Change-Number: 959180
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-MessageType: merged