jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1168005?usp=email )
Change subject: update beta.wmflabs.org to beta.wmcloud.org
......................................................................
update beta.wmflabs.org to beta.wmcloud.org
Change-Id: I9a5b82c5d183686ec79ad24bd179309e73ade887
---
M .github/workflows/login_tests-ci.yml
M .github/workflows/oauth_tests-ci.yml
M .github/workflows/pywikibot-ci.yml
M pywikibot/families/commons_family.py
M pywikibot/families/wikidata_family.py
M pywikibot/families/wikisource_family.py
M tests/file_tests.py
M tests/http_tests.py
M tests/site_tests.py
M tests/utils.py
10 files changed, 25 insertions(+), 25 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.github/workflows/login_tests-ci.yml
b/.github/workflows/login_tests-ci.yml
index b4b5a81..66e06ab 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -90,10 +90,10 @@
- name: Generate family files
run: |
if [ ${{matrix.family || 0}} == wpbeta ]; then
- python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmflabs.org/ wpbeta y
+ python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmcloud.org/ wpbeta y
fi
if [ ${{matrix.site || 0}} == 'wsbeta:en' ]; then
- python pwb.py generate_family_file
http://en.wikisource.beta.wmflabs.org/ wsbeta y
+ python pwb.py generate_family_file
http://en.wikisource.beta.wmcloud.org/ wsbeta y
fi
- name: Generate user files
run: |
diff --git a/.github/workflows/oauth_tests-ci.yml
b/.github/workflows/oauth_tests-ci.yml
index 8fe4cd8..e4dc526 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -30,11 +30,11 @@
- python-version: '3.8'
family: wpbeta
code: en
- domain: en.wikipedia.beta.wmflabs.org
+ domain: en.wikipedia.beta.wmcloud.org
- python-version: '3.8'
family: wpbeta
code: zh
- domain: zh.wikipedia.beta.wmflabs.org
+ domain: zh.wikipedia.beta.wmcloud.org
steps:
- name: Checkout Repository
uses: actions/checkout@v4
@@ -82,7 +82,7 @@
- name: Generate family files
if: ${{ matrix.family == 'wpbeta' }}
run: |
- python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmflabs.org/ wpbeta y
+ python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmcloud.org/ wpbeta y
- name: Generate user files
run: |
python -Werror::UserWarning -m pwb generate_user_files
-family:${{matrix.family}} -lang:${{matrix.code}} -user:${{
env.PYWIKIBOT_USERNAME }} -v -debug;
diff --git a/.github/workflows/pywikibot-ci.yml
b/.github/workflows/pywikibot-ci.yml
index 6130c33..e36bcc5 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -101,10 +101,10 @@
- name: Generate family files
run: |
if [ ${{matrix.family || 0}} == wpbeta ]; then
- python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmflabs.org/ wpbeta y
+ python pwb.py generate_family_file
http://${{matrix.code}}.wikipedia.beta.wmcloud.org/ wpbeta y
fi
if [ ${{matrix.site || 0}} == 'wsbeta:en' ]; then
- python pwb.py generate_family_file
http://en.wikisource.beta.wmflabs.org/ wsbeta y
+ python pwb.py generate_family_file
http://en.wikisource.beta.wmcloud.org/ wsbeta y
fi
- name: Generate user files
run: |
diff --git a/pywikibot/families/commons_family.py
b/pywikibot/families/commons_family.py
index 30773bd..527ce55 100644
--- a/pywikibot/families/commons_family.py
+++ b/pywikibot/families/commons_family.py
@@ -1,6 +1,6 @@
"""Family module for Wikimedia Commons."""
#
-# (C) Pywikibot team, 2005-2023
+# (C) Pywikibot team, 2005-2025
#
# Distributed under the terms of the MIT license.
#
@@ -24,7 +24,7 @@
langs = {
'commons': 'commons.wikimedia.org',
'test': 'test-commons.wikimedia.org',
- 'beta': 'commons.wikimedia.beta.wmflabs.org'
+ 'beta': 'commons.wikimedia.beta.wmcloud.org'
}
# Sites we want to edit but not count as real languages
diff --git a/pywikibot/families/wikidata_family.py
b/pywikibot/families/wikidata_family.py
index 89b79fa..329b567 100644
--- a/pywikibot/families/wikidata_family.py
+++ b/pywikibot/families/wikidata_family.py
@@ -1,6 +1,6 @@
"""Family module for Wikidata."""
#
-# (C) Pywikibot team, 2012-2023
+# (C) Pywikibot team, 2012-2025
#
# Distributed under the terms of the MIT license.
#
@@ -18,7 +18,7 @@
langs = {
'wikidata': 'www.wikidata.org',
'test': 'test.wikidata.org',
- 'beta': 'wikidata.beta.wmflabs.org',
+ 'beta': 'wikidata.beta.wmcloud.org',
}
# Sites we want to edit but not count as real languages
diff --git a/pywikibot/families/wikisource_family.py
b/pywikibot/families/wikisource_family.py
index 09802e2..d5ea0ee 100644
--- a/pywikibot/families/wikisource_family.py
+++ b/pywikibot/families/wikisource_family.py
@@ -56,7 +56,7 @@
def langs(cls):
cls.langs = super().langs
cls.langs['mul'] = cls.domain
- cls.langs['beta'] = 'en.wikisource.beta.wmflabs.org'
+ cls.langs['beta'] = 'en.wikisource.beta.wmcloud.org'
return cls.langs
# Need to explicitly inject the beta domain
diff --git a/tests/file_tests.py b/tests/file_tests.py
index d317627..ebb6f7d 100755
--- a/tests/file_tests.py
+++ b/tests/file_tests.py
@@ -457,7 +457,7 @@
login = True
write = True
- # commons.wikimedia.beta.wmflabs.org
+ # commons.wikimedia.beta.wmcloud.org
family = 'commons'
code = 'beta'
diff --git a/tests/http_tests.py b/tests/http_tests.py
index 317a8b2..a079206 100755
--- a/tests/http_tests.py
+++ b/tests/http_tests.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Tests for http module."""
#
-# (C) Pywikibot team, 2014-2024
+# (C) Pywikibot team, 2014-2025
#
# Distributed under the terms of the MIT license.
#
@@ -55,10 +55,10 @@
super().setUp()
self._authenticate = config.authenticate
config.authenticate = {
- 'zh.wikipedia.beta.wmflabs.org': ('1', '2'),
- '*.wikipedia.beta.wmflabs.org': ('3', '4', '3', '4'),
- '*.beta.wmflabs.org': ('5', '6'),
- '*.wmflabs.org': ('7', '8', '8'),
+ 'zh.wikipedia.beta.wmcloud.org': ('1', '2'),
+ '*.wikipedia.beta.wmcloud.org': ('3', '4', '3', '4'),
+ '*.beta.wmcloud.org': ('5', '6'),
+ '*.wmcloud.org': ('7', '8', '8'),
}
def tearDown(self) -> None:
@@ -69,11 +69,11 @@
def test_url_based_authentication(self) -> None:
"""Test url-based authentication info."""
pairs = {
- 'https://zh.wikipedia.beta.wmflabs.org': ('1', '2'),
- 'https://en.wikipedia.beta.wmflabs.org': ('3', '4', '3', '4'),
- 'https://wiki.beta.wmflabs.org': ('5', '6'),
- 'https://beta.wmflabs.org': None,
- 'https://wmflabs.org': None,
+ 'https://zh.wikipedia.beta.wmcloud.org': ('1', '2'),
+ 'https://en.wikipedia.beta.wmcloud.org': ('3', '4', '3', '4'),
+ 'https://wiki.beta.wmcloud.org': ('5', '6'),
+ 'https://beta.wmcloud.org': None,
+ 'https://wmcloud.org': None,
'https://www.wikiquote.org/': None,
}
with suppress_warnings(
diff --git a/tests/site_tests.py b/tests/site_tests.py
index 8b66149..d62f266 100755
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -1131,7 +1131,7 @@
site2 = pywikibot.Site('beta')
self.assertEqual(site2.hostname(),
- 'commons.wikimedia.beta.wmflabs.org')
+ 'commons.wikimedia.beta.wmcloud.org')
self.assertEqual(site2.code, 'beta')
self.assertFalse(site2.obsolete)
diff --git a/tests/utils.py b/tests/utils.py
index 5bf389e..8f5d342 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -387,7 +387,7 @@
def data_repository(self):
"""Return Site object for data repository e.g. Wikidata."""
- if self.hostname().endswith('.beta.wmflabs.org'):
+ if self.hostname().endswith('.beta.wmcloud.org'):
# TODO: Use definition for beta cluster's wikidata
code, fam = None, None
fam_name = self.hostname().split('.')[-4]
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1168005?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I9a5b82c5d183686ec79ad24bd179309e73ade887
Gerrit-Change-Number: 1168005
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]