jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/634093 )
Change subject: Updates for ar, arz ......................................................................
Updates for ar, arz
* dn_template * primary_topic_format * ignore_title * fix another typo (wikisource -> Wikisource)
Change-Id: Iafa90cd3bcc131e12da09e41da0aba8dbd04699e --- M scripts/README.rst M scripts/solve_disambiguation.py M scripts/wikisourcetext.py 3 files changed, 5 insertions(+), 5 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/README.rst b/scripts/README.rst index 41eba82..f2a1c30 100644 --- a/scripts/README.rst +++ b/scripts/README.rst @@ -254,7 +254,7 @@ +------------------------+---------------------------------------------------------+ | welcome.py | Script to welcome new users. | +------------------------+---------------------------------------------------------+ - | wikisourcetext.py | This bot applies to wikisource sites to upload text. | + | wikisourcetext.py | This bot applies to Wikisource sites to upload text. | +------------------------+---------------------------------------------------------+
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py index 57521b8..a078064 100755 --- a/scripts/solve_disambiguation.py +++ b/scripts/solve_disambiguation.py @@ -100,6 +100,8 @@
# Disambiguation Needed template dn_template = { + 'ar': '{{بحاجة لتوضيح}}', + 'arz': '{{Disambiguation needed}}', 'en': '{{dn}}', 'fr': '{{Lien vers un homonyme}}', } @@ -108,6 +110,7 @@ # (Begriffsklärungen nach Modell 2) primary_topic_format = { 'ar': '%s_(توضيح)', + 'arz': '%s_(توضيح)', 'ca': '%s_(desambiguació)', 'cs': '%s_(rozcestník)', 'de': '%s_(Begriffsklärung)', @@ -140,9 +143,6 @@
ignore_title = { 'wikipedia': { - 'ar': [ - 'تصنيف:صفحات توضيح', - ], 'ca': [ 'Viquipèdia:Enllaços incorrectes a pàgines de desambiguació', 'Viquipèdia:Registre de pàgines de desambiguació òrfenes', diff --git a/scripts/wikisourcetext.py b/scripts/wikisourcetext.py index ba3d670..13b3a2d 100644 --- a/scripts/wikisourcetext.py +++ b/scripts/wikisourcetext.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- """
-This bot applies to wikisource sites to upload text. +This bot applies to Wikisource sites to upload text.
Text is uploaded to pages in Page ns, for a specified Index. Text to be stored, if the page is not-existing, is preloaded from the file used
pywikibot-commits@lists.wikimedia.org