JJMC89 has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1209792?usp=email )
Change subject: scripts: Add 'uk' locales to noreferences.py and reflinks.py
......................................................................
scripts: Add 'uk' locales to noreferences.py and reflinks.py
The scripts in question are not functional without locales set as
variables inside the scripts themselves. Updated code was tested using
MonxBot account on Ukrainian Wikipedia and is perfectly operational.
Change-Id: Idae497dd42789e82b08db5003cf3a96950e9a58e
---
M scripts/noreferences.py
M scripts/reflinks.py
2 files changed, 15 insertions(+), 0 deletions(-)
Approvals:
JJMC89: Verified; Looks good to me, approved
diff --git a/scripts/noreferences.py b/scripts/noreferences.py
index bf4945b..33d6fc0 100755
--- a/scripts/noreferences.py
+++ b/scripts/noreferences.py
@@ -236,6 +236,12 @@
'ดูเพิ่ม',
'หมายเหตุ',
],
+ 'uk': [
+ 'Література',
+ 'Посилання',
+ 'Зовнішні посилання',
+ 'Джерела',
+ ],
'ur': [ # no explicit policy on where to put the references
'مزید دیکھیے',
'حوالہ جات',
@@ -434,6 +440,10 @@
'เชิงอรรถ',
'หมายเหตุ',
],
+ 'uk': [
+ 'Примітки',
+ 'Виноски',
+ ],
'ur': [
'حوالہ جات',
'حوالہ',
@@ -509,6 +519,8 @@
'sr': ['Reflist', 'Референце', 'Извори', 'Рефлист'],
'szl': ['Przipisy', 'Připisy'],
'th': ['รายการอ้างอิง'],
+ 'uk': ['Reflist', 'References', 'Примітки', 'Зноски', 'Виноски',
+ 'Ref-list', 'Примечания', 'Przypisy', 'Reflist+'],
'ur': ['Reflist', 'Refs', 'Reference',
'حوالہ جات', 'حوالے'],
'zh': ['Reflist', 'RefFoot', 'NoteFoot'],
@@ -543,6 +555,7 @@
'sr': '{{reflist}}',
'szl': '{{Przipisy}}',
'th': '{{รายการอ้างอิง}}',
+ 'uk': '{{Reflist}}',
'ur': '{{حوالہ جات}}',
'zh': '{{reflist}}',
},
diff --git a/scripts/reflinks.py b/scripts/reflinks.py
index 4395f01..24edb1c 100755
--- a/scripts/reflinks.py
+++ b/scripts/reflinks.py
@@ -104,6 +104,7 @@
'en': 'User:DumZiBoT/EditThisPageToStopMe',
'pl': 'Wikipedysta:MastiBot/EditThisPageToStopMe',
'ru': 'User:Rubinbot/EditThisPageToStopMe',
+ 'uk': 'Користувач:MonxBot/EditThisPageToStopMe',
'ur': 'صارف:Shuaib-bot/EditThisPageToStopMe',
'zh': 'User:Sz-iwbot',
}
@@ -123,6 +124,7 @@
'pl': '[%s] {{Martwy link}}',
'ru': '[%s] {{Недоступная ссылка}}',
'sr': '[%s] {{dead link}}',
+ 'uk': '[%s] {{Недоступне посилання}}',
'ur': '[%s] {{مردہ ربط}}',
}
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1209792?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: Idae497dd42789e82b08db5003cf3a96950e9a58e
Gerrit-Change-Number: 1209792
Gerrit-PatchSet: 3
Gerrit-Owner: MonAx the Developer <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Xqt <[email protected]>
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]