jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/762752 )
Change subject: Update template_to_the_image and template_to_the_user ......................................................................
Update template_to_the_image and template_to_the_user
* Notes: ** Add missing "%(title)s" to Urdu ** "جا" is subst in Persian ** Reorder links as usual: meta, test at top
Change-Id: I74f35265612e4fb698cc2197825e3e5ce6275ebe --- M scripts/unusedfiles.py 1 file changed, 14 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/unusedfiles.py b/scripts/unusedfiles.py index 8836224..601260a 100755 --- a/scripts/unusedfiles.py +++ b/scripts/unusedfiles.py @@ -18,7 +18,7 @@ -usertemplate: Use a custom template to warn the uploader. """ # -# (C) Pywikibot team, 2007-2021 +# (C) Pywikibot team, 2007-2022 # # Distributed under the terms of the MIT license. # @@ -39,15 +39,25 @@ template_to_the_image = { 'meta': '{{Orphan file}}', 'test': '{{Orphan file}}', - 'it': '{{immagine orfana}}', + 'ar': '{{صورة يتيمة}}', + 'arz': '{{صوره يتيمه}}', + 'en': '{{Orphan image}}', 'fa': '{{تصاویر بدون استفاده}}', + 'id': '{{Berkas yatim}}', + 'it': '{{immagine orfana}}', + 'mk': '{{Слика сираче}}', + 'te': '{{Orphan image}}', 'ur': '{{غیر مستعمل تصاویر}}', + 'uz': '{{Yetim tasvir}}', + 'vec': '{{Imaxine orfana}}', + 'vi': '{{Hình mồ côi}}', }
template_to_the_user = { - 'fa': '{{جا:اخطار به کاربر برای تصاویر بدون استفاده|%(title)s}}', - 'ur': '{{جا:اطلاع برائے غیر مستعمل تصاویر}}', 'test': '{{User:Happy5214/Unused file notice (user)|%(title)s}}', + 'ar': '{{subst:تنبيه صورة يتيمة|%(title)s}}', + 'fa': '{{subst:اخطار به کاربر برای تصاویر بدون استفاده|%(title)s}}', + 'ur': '{{subst:اطلاع برائے غیر مستعمل تصاویر|%(title)s}}', }