jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/633751 )

Change subject: Updates for ar, arz, ary
......................................................................

Updates for ar, arz, ary

* Update doc_subpages
* Update edit_restricted_templates for arz, ary
* Update archived_page_templates for ar, arz
* Update category_redirect_templates for ary
* Remove namespace from category_redirect_templates to match other entries

Change-Id: I5a42dcad454dae1e2feb97eef473bd06d44d1a70
---
M pywikibot/families/wikibooks_family.py
M pywikibot/families/wikinews_family.py
M pywikibot/families/wikipedia_family.py
M pywikibot/families/wikiquote_family.py
M pywikibot/families/wikisource_family.py
M pywikibot/families/wikiversity_family.py
M pywikibot/families/wiktionary_family.py
7 files changed, 18 insertions(+), 6 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/families/wikibooks_family.py 
b/pywikibot/families/wikibooks_family.py
index 71d9d27..71a391b 100644
--- a/pywikibot/families/wikibooks_family.py
+++ b/pywikibot/families/wikibooks_family.py
@@ -62,6 +62,7 @@
         '_default': (('/doc', ),
                      ['en']
                      ),
+        'ar': ('/شرح', '/doc'),
         'es': ('/uso', '/doc'),
         'sr': ('/док', ),
     }
diff --git a/pywikibot/families/wikinews_family.py 
b/pywikibot/families/wikinews_family.py
index ff3524d..2401997 100644
--- a/pywikibot/families/wikinews_family.py
+++ b/pywikibot/families/wikinews_family.py
@@ -28,7 +28,7 @@

     category_redirect_templates = {
         '_default': (),
-        'ar': ('قالب:تحويل تصنيف',),
+        'ar': ('تحويل تصنيف',),
         'fa': ('الگو:رده بهتر',),
         'no': ('Kategoriomdirigering',),
         'ro': ('Redirect categorie',),
@@ -53,6 +53,7 @@
         '_default': (('/doc', ),
                      ['en', ]
                      ),
+        'ar': ('/شرح', '/doc'),
         'it': ('/man', ),
         'sr': ('/док', ),
     }
diff --git a/pywikibot/families/wikipedia_family.py 
b/pywikibot/families/wikipedia_family.py
index d2ae171..c6b32b6 100644
--- a/pywikibot/families/wikipedia_family.py
+++ b/pywikibot/families/wikipedia_family.py
@@ -68,6 +68,7 @@
     category_redirect_templates = {
         '_default': (),
         'ar': ('تحويل تصنيف',),
+        'ary': ('Category redirect',),
         'arz': ('تحويل تصنيف',),
         'bn': ('বিষয়শ্রেণী পুনর্নির্দেশ',),
         'bs': ('Category redirect',),
@@ -170,10 +171,12 @@
     # TODO: Remove comments for appropriate pages
     doc_subpages = {
         '_default': (('/doc', ),
-                     ['ar', 'bn', 'cs', 'da', 'en', 'es', 'hr', 'hu', 'id',
+                     ['arz', 'bn', 'cs', 'da', 'en', 'es', 'hr', 'hu', 'id',
                       'ilo', 'ja', 'ms', 'pt', 'ro', 'ru', 'simple', 'sh',
                       'vi', 'zh']
                      ),
+        'ar': ('/شرح', '/doc', ),
+        'ary': ('/توثيق', '/شرح', '/doc', ),
         'bs': ('/dok', ),
         'ca': ('/ús', ),
         'de': ('Doku', '/Meta'),
@@ -200,6 +203,8 @@
     # Templates that indicate an edit should be avoided
     edit_restricted_templates = {
         'ar': ('تحرر',),
+        'ary': ('كاتبدل دابا',),
+        'arz': ('بتتطور',),
         'bs': ('Izmjena u toku',),
         'cs': ('Pracuje se',),
         'de': ('Inuse', 'In use', 'In bearbeitung', 'Inbearbeitung',),
@@ -216,6 +221,8 @@
     # Archive templates that indicate an edit of non-archive bots
     # should be avoided
     archived_page_templates = {
+        'ar': ('أرشيف نقاش',),
+        'arz': ('صفحة ارشيف',),
         'cs': ('Archiv', 'Archiv Wikipedie', 'Archiv diskuse',
                'Archivace start', 'Posloupnost archivů', 'Rfa-archiv-start',
                'Rfc-archiv-start',),
diff --git a/pywikibot/families/wikiquote_family.py 
b/pywikibot/families/wikiquote_family.py
index bd6ae55..7f0df5a 100644
--- a/pywikibot/families/wikiquote_family.py
+++ b/pywikibot/families/wikiquote_family.py
@@ -38,7 +38,7 @@

     category_redirect_templates = {
         '_default': (),
-        'ar': ('قالب:تحويل تصنيف',),
+        'ar': ('تحويل تصنيف',),
         'en': ('Category redirect',),
         'ro': ('Redirect categorie',),
         'sq': ('Kategori e zhvendosur',),
@@ -64,6 +64,7 @@
         '_default': (('/doc', ),
                      ['en']
                      ),
+        'ar': ('/شرح', '/doc'),
         'sr': ('/док', ),
     }

diff --git a/pywikibot/families/wikisource_family.py 
b/pywikibot/families/wikisource_family.py
index 760c9db..ff35d53 100644
--- a/pywikibot/families/wikisource_family.py
+++ b/pywikibot/families/wikisource_family.py
@@ -40,7 +40,7 @@

     category_redirect_templates = {
         '_default': (),
-        'ar': ('قالب:تحويل تصنيف',),
+        'ar': ('تحويل تصنيف',),
         'bn': ('বিষয়শ্রেণী পুনর্নির্দেশ',),
         'en': ('Category redirect',),
         'es': ('Categoría redirigida',),
@@ -128,11 +128,12 @@
     # TODO: Remove comments for appropriate pages
     doc_subpages = {
         '_default': (('/doc', ),
-                     ['ar', 'as', 'az', 'bn', 'en', 'es',
+                     ['as', 'az', 'bn', 'en', 'es',
                       'et', 'gu', 'hu', 'it', 'ja', 'kn', 'ml',
                       'mk', 'mr', 'pt', 'ro', 'sa', 'sah', 'ta',
                       'te', 'th', 'vi']
                      ),
+        'ar': ('/شرح', '/doc'),
         'be': ('/Дакументацыя', ),
         'bn': ('/নথি', ),
         'br': ('/diellerezh', ),
diff --git a/pywikibot/families/wikiversity_family.py 
b/pywikibot/families/wikiversity_family.py
index 8326e4e..be5df39 100644
--- a/pywikibot/families/wikiversity_family.py
+++ b/pywikibot/families/wikiversity_family.py
@@ -31,7 +31,7 @@

     category_redirect_templates = {
         '_default': (),
-        'ar': ('قالب:تحويل تصنيف',),
+        'ar': ('تحويل تصنيف',),
         'en': ('Category redirect',),
     }

diff --git a/pywikibot/families/wiktionary_family.py 
b/pywikibot/families/wiktionary_family.py
index 4cdf2ec..3ee016b 100644
--- a/pywikibot/families/wiktionary_family.py
+++ b/pywikibot/families/wiktionary_family.py
@@ -129,5 +129,6 @@
         '_default': (('/doc', ),
                      ['en']
                      ),
+        'ar': ('/شرح', '/doc'),
         'sr': ('/док', ),
     }

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/633751
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I5a42dcad454dae1e2feb97eef473bd06d44d1a70
Gerrit-Change-Number: 633751
Gerrit-PatchSet: 3
Gerrit-Owner: Meno25 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Mpaa <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to