jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/339819 )
Change subject: Updating global bot wikis, closed wikis and deleted wikis ......................................................................
Updating global bot wikis, closed wikis and deleted wikis
Change-Id: I2fc4fafed73482a31f87b9c809f78770f2973ea4 --- 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/wikivoyage_family.py M pywikibot/families/wiktionary_family.py 8 files changed, 111 insertions(+), 287 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/families/wikibooks_family.py b/pywikibot/families/wikibooks_family.py index 010c97f..09dec93 100644 --- a/pywikibot/families/wikibooks_family.py +++ b/pywikibot/families/wikibooks_family.py @@ -20,102 +20,18 @@ name = 'wikibooks'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Af... - 'aa', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ak... - 'ak', - # https://als.wikipedia.org/wiki/Wikipedia:Stammtisch/Archiv_2008-1#Afterwards... - 'als', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ol... - 'ang', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_As... - 'as', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_As... - 'ast', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ay... - 'ay', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba... - 'ba', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bi... - 'bi', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba... - 'bm', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ti... - 'bo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ch... - 'ch', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Co... - 'co', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ga... - 'ga', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Go... - 'got', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu... - 'gn', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu... - 'gu', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'kn', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_In... - 'ie', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'ks', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_L%... - 'lb', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Li... - 'ln', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_La... - 'lv', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ma... - 'mi', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mo... - 'mn', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bu... - 'my', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Na... - 'na', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Na... - 'nah', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Pl... - 'nds', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Pa... - 'ps', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Qu... - 'qu', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ru... - 'rm', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sa... - 'se', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Si...) - 'simple', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba...) - 'su', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sw... - 'sw', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tu... - 'tk', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Uy... - 'ug', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Uz...) - 'uz', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Vo... - 'vo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Wa... - 'wa', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Xh... - 'xh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Yo... - 'yo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Zh... - 'za', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mi... - 'zh-min-nan', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Zu... - 'zu', + # See https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'aa', 'ak', 'als', 'ang', 'as', 'ast', 'ay', 'ba', + 'bi', 'bm', 'bo', 'ch', 'co', 'ga', 'got', 'gn', + 'gu', 'kn', 'ie', 'ks', 'lb', 'ln', 'lv', 'mi', + 'mn', 'my', 'na', 'nah', 'nds', 'ps', 'qu', 'rm', + 'se', 'simple', 'su', 'sw', 'tk', 'ug', 'uz', + 'vo', 'wa', 'xh', 'yo', 'za', 'zh-min-nan', 'zu', ]
removed_wikis = [ - 'tokipona', + # See https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'dk', 'tokipona', ]
def __init__(self): @@ -134,7 +50,7 @@ super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... + # https://meta.wikimedia.org/wiki/BPI#Current_implementation self.cross_allowed = [ 'af', 'ca', 'fa', 'fy', 'gl', 'it', 'nl', 'ru', 'th', 'zh', ] diff --git a/pywikibot/families/wikinews_family.py b/pywikibot/families/wikinews_family.py index 3faeb7b..d8cfb22 100644 --- a/pywikibot/families/wikinews_family.py +++ b/pywikibot/families/wikinews_family.py @@ -20,14 +20,8 @@ name = 'wikinews'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Hu... - 'hu', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Du... - 'nl', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Si... - 'sd', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Th... - 'th', + # https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'hu', 'nl', 'sd', 'th', ]
def __init__(self): @@ -41,8 +35,13 @@ super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... - self.cross_allowed = ['ca', 'cs', 'en', 'fa', 'ko', ] + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 + self.cross_allowed = [ + 'ar', 'bg', 'bs', 'ca', 'cs', 'el', 'en', 'eo', 'fa', 'fi', 'he', + 'ja', 'ko', 'no', 'pt', 'ro', 'sq', 'sr', 'sv', 'ta', 'tr', 'uk', + 'zh', + ]
# TODO: # Change site_tests.py when wikinews will have doc_subpage. diff --git a/pywikibot/families/wikipedia_family.py b/pywikibot/families/wikipedia_family.py index eebf0fd..c3d2cf6 100644 --- a/pywikibot/families/wikipedia_family.py +++ b/pywikibot/families/wikipedia_family.py @@ -20,37 +20,17 @@ name = 'wikipedia'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Af... - 'aa', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ch... - 'cho', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Hi... - 'ho', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_He... - 'hz', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Yi... - 'ii', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kw... - 'kj', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'kr', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ma... - 'mh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mo... - 'mo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mu... - 'mus', + # See https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'aa', 'advisory', 'cho', 'ho', 'hz', 'ii', 'kj', 'kr', 'mh', 'mo', + 'mus', 'ng', 'quality', 'strategy', 'ten', 'usability', + 'wikimania2005', 'wikimania2006', 'wikimania2007', 'wikimania2008', + 'wikimania2009', 'wikimania2010', 'wikimania2011', 'wikimania2012', + 'wikimania2013', 'wikimania2014', 'wikimania2015', ]
removed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Nd... - 'ng', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Si... - 'ru-sib', - # Klingon, locked in 2005, and moved to http://klingon.wikia.com/ - 'tlh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_To... - 'tokipona', + # See https://noc.wikimedia.org/conf/highlight.php?file=deleted.dblist + 'dk', 'ru-sib', 'tlh', 'tokipona', 'zh_cn', 'zh_tw', ]
def __init__(self): @@ -183,32 +163,35 @@ ]
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 self.cross_allowed = [ 'ab', 'ace', 'af', 'ak', 'als', 'am', 'an', 'ang', 'ar', 'arc', - 'arz', 'as', 'ast', 'av', 'ay', 'az', 'ba', 'bar', 'bat-smg', 'bcl', - 'be', 'be-tarask', 'bg', 'bh', 'bi', 'bjn', 'bm', 'bo', 'bpy', 'bug', - 'bxr', 'ca', 'cbk-zam', 'cdo', 'ce', 'ceb', 'ch', 'chr', 'chy', - 'ckb', 'co', 'cr', 'crh', 'csb', 'cu', 'cv', 'cy', 'da', 'diq', - 'dsb', 'dz', 'ee', 'el', 'eml', 'en', 'eo', 'et', 'eu', 'ext', 'fa', - 'ff', 'fi', 'fj', 'fo', 'frp', 'frr', 'fur', 'ga', 'gag', 'gan', - 'gd', 'glk', 'gn', 'got', 'gu', 'gv', 'ha', 'hak', 'haw', 'he', - 'hi', 'hif', 'hr', 'hsb', 'ht', 'hu', 'hy', 'ia', 'ie', 'ig', 'ik', - 'ilo', 'io', 'iu', 'ja', 'jbo', 'jv', 'ka', 'kaa', 'kab', 'kdb', - 'kg', 'ki', 'kk', 'kl', 'km', 'kn', 'ko', 'koi', 'krc', 'ks', 'ku', - 'kv', 'kw', 'ky', 'la', 'lad', 'lb', 'lbe', 'lez', 'lg', 'li', - 'lij', 'lmo', 'ln', 'lo', 'lt', 'ltg', 'lv', 'map-bms', 'mdf', 'mg', - 'mhr', 'mi', 'mk', 'ml', 'mn', 'mrj', 'ms', 'mwl', 'my', 'myv', - 'mzn', 'na', 'nah', 'nap', 'nds-nl', 'ne', 'new', 'nl', 'no', 'nov', - 'nrm', 'nso', 'nv', 'ny', 'oc', 'om', 'or', 'os', 'pa', 'pag', - 'pam', 'pap', 'pdc', 'pfl', 'pi', 'pih', 'pms', 'pnb', 'pnt', 'ps', - 'qu', 'rm', 'rmy', 'rn', 'roa-rup', 'roa-tara', 'ru', 'rue', 'rw', - 'sa', 'sah', 'sc', 'scn', 'sco', 'sd', 'se', 'sg', 'sh', 'si', - 'simple', 'sk', 'sm', 'sn', 'so', 'srn', 'ss', 'st', 'stq', 'su', - 'sv', 'sw', 'szl', 'ta', 'te', 'tet', 'tg', 'th', 'ti', 'tk', 'tl', - 'tn', 'to', 'tpi', 'tr', 'ts', 'tt', 'tum', 'tw', 'ty', 'udm', 'ug', - 'uz', 've', 'vec', 'vep', 'vls', 'vo', 'wa', 'war', 'wo', 'wuu', - 'xal', 'xh', 'yi', 'yo', 'za', 'zea', 'zh', 'zh-classical', + 'arz', 'as', 'ast', 'av', 'ay', 'az', 'ba', 'bar', 'bat-smg', + 'bcl', 'be', 'be-tarask', 'bg', 'bh', 'bi', 'bjn', 'bm', 'bo', + 'bpy', 'bug', 'bxr', 'ca', 'cbk-zam', 'cdo', 'ce', 'ceb', 'ch', + 'chr', 'chy', 'ckb', 'co', 'cr', 'crh', 'csb', 'cu', 'cv', 'cy', + 'da', 'diq', 'dsb', 'dz', 'ee', 'el', 'eml', 'en', 'eo', 'et', + 'eu', 'ext', 'fa', 'ff', 'fi', 'fj', 'fo', 'frp', 'frr', 'fur', + 'ga', 'gag', 'gan', 'gd', 'glk', 'gn', 'got', 'gu', 'gv', 'ha', + 'hak', 'haw', 'he', 'hi', 'hif', 'hr', 'hsb', 'ht', 'hu', 'hy', + 'ia', 'ie', 'ig', 'ik', 'ilo', 'io', 'iu', 'ja', 'jbo', 'jv', + 'ka', 'kaa', 'kab', 'kdb', 'kg', 'ki', 'kk', 'kl', 'km', 'kn', + 'ko', 'koi', 'krc', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lad', + 'lb', 'lbe', 'lez', 'lg', 'li', 'lij', 'lmo', 'ln', 'lo', + 'lt', 'ltg', 'lv', 'map-bms', 'mdf', 'mg', 'mhr', 'mi', 'mk', + 'ml', 'mn', 'mrj', 'ms', 'mwl', 'my', 'myv', 'mzn', 'na', 'nah', + 'nap', 'nds-nl', 'ne', 'new', 'nl', 'no', 'nov', 'nrm', 'nso', + 'nv', 'ny', 'oc', 'om', 'or', 'os', 'pa', 'pag', 'pam', 'pap', + 'pdc', 'pfl', 'pi', 'pih', 'pms', 'pnb', 'pnt', 'ps', 'qu', + 'rm', 'rmy', 'rn', 'roa-rup', 'roa-tara', 'ru', 'rue', 'rw', + 'sa', 'sah', 'sc', 'scn', 'sco', 'sd', 'se', 'sg', 'sh', + 'si', 'simple', 'sk', 'sm', 'sn', 'so', 'srn', 'ss', 'st', + 'stq', 'su', 'sv', 'sw', 'szl', 'ta', 'te', 'tet', 'tg', + 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tpi', 'tr', 'ts', 'tt', + 'tum', 'tw', 'ty', 'udm', 'ug', 'uz', 've', 'vec', 'vep', + 'vls', 'vo', 'wa', 'war', 'wo', 'wuu', 'xal', 'xh', + 'yi', 'yo', 'za', 'zea', 'zh', 'zh-classical', 'zh-min-nan', 'zh-yue', 'zu', ]
diff --git a/pywikibot/families/wikiquote_family.py b/pywikibot/families/wikiquote_family.py index ff4aa2f..2e038a0 100644 --- a/pywikibot/families/wikiquote_family.py +++ b/pywikibot/families/wikiquote_family.py @@ -20,51 +20,14 @@ name = 'wikiquote'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Al... - 'als', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ol... - 'ang', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_As... - 'ast', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba... - 'bm', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Co... - 'co', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ne... - 'cr', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ga... - 'ga', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'kk', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'kr', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka... - 'ks', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ke... - 'kw', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Lu... - 'lb', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Na... - 'na', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Lo... - 'nds', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Qu... - 'qu', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Si...) - 'simple', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tu... - 'tk', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ta... - 'tt', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Oy... - 'ug', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Vo... - 'vo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Zh... - 'za', + # See https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'als', 'am', 'ang', 'ast', 'bm', 'co', 'cr', 'ga', 'kk', + 'kr', 'ks', 'kw', 'lb', 'na', 'nds', 'qu', 'simple', + 'tk', 'tt', 'ug', 'vo', 'za', 'zh_min_nan', ]
removed_wikis = [ + # See https://noc.wikimedia.org/conf/highlight.php?file=deleted.dblist 'tokipona', ]
@@ -83,14 +46,16 @@ super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 self.cross_allowed = [ - 'af', 'am', 'ar', 'az', 'be', 'bg', 'br', 'bs', 'ca', 'cs', 'da', - 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', - 'hu', 'hy', 'id', 'is', 'it', 'ja', 'ka', 'kn', 'ku', 'ky', 'la', - 'li', 'lt', 'ml', 'mr', 'nl', 'nn', 'no', 'pt', 'ro', 'ru', 'sk', - 'sl', 'sq', 'sr', 'su', 'sv', 'ta', 'te', 'tr', 'uk', 'uz', 'vi', - 'wo', 'zh', + 'af', 'ar', 'az', 'be', 'bg', 'br', 'bs', 'ca', 'cs', + 'cy', 'da', 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', + 'fr', 'gl', 'gu', 'he', 'hi', 'hu', 'hy', 'id', 'is', + 'it', 'ja', 'ka', 'kn', 'ko', 'ku', 'ky', 'la', 'li', + 'lt', 'ml', 'mr', 'nl', 'nn', 'no', 'pt', 'ro', 'ru', + 'sk', 'sl', 'sq', 'sr', 'su', 'sv', 'ta', 'te', 'tr', + 'uk', 'ur', 'uz', 'vi', 'wo', 'zh', ]
# Subpages for documentation. diff --git a/pywikibot/families/wikisource_family.py b/pywikibot/families/wikisource_family.py index 519be59..ec64756 100644 --- a/pywikibot/families/wikisource_family.py +++ b/pywikibot/families/wikisource_family.py @@ -20,10 +20,12 @@ name = 'wikisource'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ol... - 'ang', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ha... - 'ht', + # https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'ang', 'ht', + ] + removed_wikis = [ + # https://noc.wikimedia.org/conf/highlight.php?file=deleted.dblist + 'tokipona', ]
def __init__(self): @@ -45,7 +47,7 @@ self.languages_by_size.append('mul')
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... + # https://meta.wikimedia.org/wiki/BPI#Current_implementation self.cross_allowed = [ 'ca', 'el', 'fa', 'it', 'ko', 'no', 'pl', 'vi', 'zh', ] diff --git a/pywikibot/families/wikiversity_family.py b/pywikibot/families/wikiversity_family.py index 9ebc0d5..4b3e8fc 100644 --- a/pywikibot/families/wikiversity_family.py +++ b/pywikibot/families/wikiversity_family.py @@ -29,5 +29,6 @@ super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... - self.cross_allowed = ['ja', ] + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 + self.cross_allowed = ['ja', 'ko', ] diff --git a/pywikibot/families/wikivoyage_family.py b/pywikibot/families/wikivoyage_family.py index eb0947e..a5fb789 100644 --- a/pywikibot/families/wikivoyage_family.py +++ b/pywikibot/families/wikivoyage_family.py @@ -29,5 +29,8 @@ super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... - self.cross_allowed = ['es', 'ru', ] + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 + self.cross_allowed = [ + 'el', 'en', 'es', 'fa', 'ru', + ] diff --git a/pywikibot/families/wiktionary_family.py b/pywikibot/families/wiktionary_family.py index 31d5c83..d5af2ee 100644 --- a/pywikibot/families/wiktionary_family.py +++ b/pywikibot/families/wiktionary_family.py @@ -20,66 +20,15 @@ name = 'wiktionary'
closed_wikis = [ - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Af... - 'aa', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ab... - 'ab', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ak... - 'ak', - # https://als.wikipedia.org/wiki/Wikipedia:Stammtisch/Archiv_2008-1#Afterwards... - 'als', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_As... - 'as', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Av... - 'av', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba... - 'ba', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bi... - 'bh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Bi... - 'bi', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ba... - 'bm', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ti... - 'bo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ch... - 'ch', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ne... - 'cr', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Dz... - 'dz', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_In... - 'ik', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ma... - 'mh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mo... - 'mo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Pa... - 'pi', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Rh... - 'rm', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ki... - 'rn', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sa... - 'sc', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Sh... - 'sn', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_To... - 'to', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kl... - 'tlh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Tw... - 'tw', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Xh... - 'xh', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Yo... - 'yo', - # https://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Zh... - 'za', + # See https://noc.wikimedia.org/conf/highlight.php?file=closed.dblist + 'aa', 'ab', 'ak', 'als', 'as', 'av', 'ba', 'bh', 'bi', 'bm', 'bo', + 'ch', 'cr', 'dz', 'ik', 'mh', 'mo', 'pi', 'rm', 'rn', 'sc', 'sn', + 'to', 'tw', 'xh', 'yo', 'za', ]
removed_wikis = [ - 'tokipona', + # See https://noc.wikimedia.org/conf/highlight.php?file=deleted.dblist + 'dk', 'ba', 'tlh', 'tokipona', ]
def __init__(self): @@ -92,28 +41,34 @@ 'jv', 'eu', 'gl', 'az', 'lo', 'uk', 'br', 'da', 'hr', 'eo', 'fj', 'oc', 'bg', 'ps', 'simple', 'cy', 'vo', 'is', 'zh-min-nan', 'wa', 'scn', 'tg', 'ast', 'sk', 'he', 'af', 'tl', 'la', 'sw', 'fy', 'nn', - 'ky', 'co', 'pnb', 'lv', 'mn', 'ka', 'sl', 'sq', 'nds', 'nah', 'lb', - 'bs', 'kk', 'tk', 'km', 'sm', 'sa', 'mk', 'hsb', 'bn', 'be', 'ms', - 'ga', 'ur', 'an', 'wo', 'ang', 'vec', 'pa', 'tt', 'gn', 'sd', 'mr', - 'so', 'csb', 'ug', 'gd', 'st', 'mt', 'roa-rup', 'si', 'ia', 'ie', - 'mi', 'ay', 'kl', 'jbo', 'fo', 'ln', 'zu', 'na', 'gv', 'kw', 'gu', - 'rw', 'ts', 'ne', 'om', 'qu', 'ss', 'su', 'ha', 'iu', 'am', 'dv', - 'tpi', 'yi', 'ti', 'sg', 'tn', 'ks', + 'ky', 'co', 'pnb', 'lv', 'mn', 'ka', 'sl', 'sq', 'nds', 'nah', + 'lb', 'bs', 'kk', 'tk', 'km', 'sm', 'sa', 'mk', 'hsb', 'bn', 'be', + 'ms', 'ga', 'ur', 'an', 'wo', 'ang', 'vec', 'pa', 'tt', 'gn', 'sd', + 'mr', 'so', 'csb', 'ug', 'gd', 'st', 'mt', 'roa-rup', 'si', 'ia', + 'ie', 'mi', 'ay', 'kl', 'jbo', 'fo', 'ln', 'zu', 'na', 'gv', 'kw', + 'gu', 'rw', 'ts', 'ne', 'om', 'qu', 'ss', 'su', 'ha', 'iu', 'am', + 'dv', 'tpi', 'yi', 'ti', 'sg', 'tn', 'ks', ]
super(Family, self).__init__()
# Global bot allowed languages on - # https://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa... + # https://meta.wikimedia.org/wiki/BPI#Current_implementation + # & https://meta.wikimedia.org/wiki/Special:WikiSets/2 self.cross_allowed = [ - 'am', 'an', 'ang', 'ast', 'ay', 'az', 'be', 'bg', 'bn', 'br', 'bs', - 'ca', 'chr', 'co', 'cy', 'da', 'dv', 'eo', 'es', 'et', 'eu', 'fa', - 'fi', 'fj', 'fo', 'fy', 'ga', 'gd', 'gl', 'gn', 'gv', 'hu', 'ia', - 'id', 'ie', 'io', 'jv', 'ka', 'kl', 'kn', 'ku', 'ky', 'lb', 'lo', - 'lt', 'lv', 'mg', 'mk', 'ml', 'mn', 'my', 'ne', 'nl', 'no', 'oc', - 'or', 'pt', 'sh', 'simple', 'sk', 'sl', 'sm', 'su', 'tg', 'th', - 'ti', 'tk', 'tn', 'tpi', 'ts', 'ug', 'uk', 'vo', 'wa', 'wo', 'zh', - 'zh-min-nan', 'zu', + 'am', 'af', 'am', 'ang', 'an', 'ar', 'ast', 'ay', 'az', 'be', + 'bg', 'bn', 'br', 'bs', 'ca', 'chr', 'co', 'csb', 'cs', 'cy', + 'da', 'dv', 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fj', 'fo', + 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'hsb', 'hu', 'hy', + 'ia', 'id', 'ie', 'io', 'iu', 'jbo', 'jv', 'ka', 'kk', 'kl', 'km', + 'kn', 'ko', 'ks', 'ku', 'kw', 'ky', 'la', 'lb', 'ln', 'lo', 'lt', + 'lv', 'mg', 'mi', 'mk', 'ml', 'mn', 'ms', 'mt', 'my', 'nah', 'na', + 'nds', 'ne', 'nl', 'nn', 'no', 'oc', 'om', 'or', 'pa', 'pnb', + 'ps', 'pt', 'qu', 'roa_rup', 'rw', 'sa', 'scn', 'sd', 'sg', 'sh', + 'simple', 'si', 'sk', 'sl', 'sm', 'so', 'sq', 'sr', 'ss', 'st', + 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', + 'tpi', 'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec', 'vi', 'vo', + 'wa', 'wo', 'yi', 'zh_min_nan', 'zh', 'zu', ]
# Other than most Wikipedias, page names must not start with a capital
pywikibot-commits@lists.wikimedia.org