jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1059454?usp=email )
Change subject: [fix] Ignore LookupError when decoding meta content
......................................................................
[fix] Ignore LookupError when decoding meta content
Use site`s default encoding instead
Bug: T371687
Change-Id: I1144fd74b924c1713d259f46476c089e813ebdd1
---
M scripts/reflinks.py
1 file changed, 5 insertions(+), 4 deletions(-)
Approvals:
Rubin: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/reflinks.py b/scripts/reflinks.py
index 5607c9c..9938011 100755
--- a/scripts/reflinks.py
+++ b/scripts/reflinks.py
@@ -553,7 +553,6 @@
raw_text = textlib.removeDisabledParts(new_text)
# for each link to change
for match in linksInRef.finditer(raw_text):
-
link = match['url']
if 'jstor.org' in link:
# TODO: Clean URL blacklist
@@ -647,10 +646,12 @@
if meta_content:
tag = None
- encodings = [encoding] if encoding else []
- encodings += list(page.site.encodings())
+ # use a dict to keep the order
+ encodings = {encoding: None} if encoding else {}
+ encodings.update(dict.fromkeys(page.site.encodings()))
+
for enc in encodings:
- with suppress(UnicodeDecodeError):
+ with suppress(UnicodeDecodeError, LookupError):
tag = meta_content.group().decode(enc)
break
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1059454?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: I1144fd74b924c1713d259f46476c089e813ebdd1
Gerrit-Change-Number: 1059454
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <dalangi-ctr(a)wikimedia.org>
Gerrit-Reviewer: Rubin <rubin.happy(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Hello <USER>,
We are reaching out to inform you about an important upcoming change regarding your Wikitech account. As part of our ongoing efforts to streamline account management and improve security, we will be migrating all old developer Wikitech accounts to the Wikimedia Global Account(SUL) (also referred to as global account or Wikimedia global account). This means that in the future you will be able to access Wikitech using your MediaWiki/Wikipedia account.
==What You Need to Do==
To ensure a smooth transition, we request that you manually link your Wikitech account to your Wikimedia Global Account of your choice before September 16th, 2024. Please follow these steps:
Log in to idm.wikimedia.org with the same username and password you would use on Wikitech[0].
Follow the instructions provided to link your Developer account to your Wikimedia Global Account(SUL).
==Why This Is Important==
Currently, Wikitech accounts are stored in LDAP, which has been historically used for managing technical community accounts across Wikimedia projects. We are now consolidating these accounts under the Wikimedia Global Account system.
This change will help us better manage the Wikitech wiki, which also contains essential technical documentation.
==Migration Details==
*Developer Accounts That Are Linked To SUL Accounts: If you link your Developer and Wikimedia Global accounts by the deadline, edits made by your legacy Wikitech account will be migrated to your Wikimedia Global Account(SUL). This will retain your full edit history and attribution for past contributions in one place.
*Unlinked Developer Accounts: If you do not link your accounts by the deadline, your legacy Wikitech account will be migrated to a local placeholder account/scheme (e.g. OLDWIKITECHUSERNAME~wikitech). Your old edits will still be visible, but new edits will be made under a new Wikimedia Global Account(SUL) with no immediate link to your past edits.
Your prompt action will help us ensure a seamless transition. If you have already linked your accounts, no further action is required.
If you have any questions or need assistance, please do not hesitate to contact us[1]
We are also maintaining a FAQ page[2] that hopefully answers some questions you may have.
[0]: https://idm.wikimedia.org
[1]: https://wikitech.wikimedia.org/wiki/Portal:Toolforge/About_Toolforge#Commun…
[2]: https://wikitech.wikimedia.org/wiki/News/Migrating_Wikitech_Account_to_SUL#…
Thanks!
--
Seyram Komla Sapaty
(Wikimedia Cloud Services)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/1059056?usp=email )
Change subject: Localisation updates from https://translatewiki.net.
......................................................................
Localisation updates from https://translatewiki.net.
Change-Id: I0d1d107610619a805b715ebd019f92acfd6d889e
---
M redirect/ia.json
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
L10n-bot: Looks good to me, approved
jenkins-bot: Verified
diff --git a/redirect/ia.json b/redirect/ia.json
index f07d957..8bb00eb 100644
--- a/redirect/ia.json
+++ b/redirect/ia.json
@@ -1,13 +1,14 @@
{
"@metadata": {
"authors": [
+ "Karmwiki",
"McDutchie",
"Xqt"
]
},
"redirect-broken-redirect-template": "{{eliminar|Redirection a un pagina delite o non existente}}",
- "redirect-fix-broken-moved": "Reparation de un redirection rupte verso le pagina renominate %(to)s",
- "redirect-fix-double": "Reparation de un duple redirection a %(to)s",
+ "redirect-fix-broken-moved": "Reparante redirection rupte ab %(from\n)s al pagina movite %(to)s",
+ "redirect-fix-double": "Reparante redirectiones duple ab %(from)s a %(to)s",
"redirect-fix-loop": "Reparation de un bucla de redirectiones a %(to)s",
"redirect-remove-broken": "Redirection a un pagina delite o non existente",
"redirect-remove-loop": "Le destination del redirection forma un circulo de redirectiones"
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/1059056?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/i18n
Gerrit-Branch: master
Gerrit-Change-Id: I0d1d107610619a805b715ebd019f92acfd6d889e
Gerrit-Change-Number: 1059056
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