Revision: 7026 Author: alexsh Date: 2009-07-07 04:55:39 +0000 (Tue, 07 Jul 2009)
Log Message: ----------- Update cross_allowed sites from meta
Modified Paths: -------------- trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikinews_family.py trunk/pywikipedia/families/wikipedia_family.py trunk/pywikipedia/families/wiktionary_family.py
Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2009-07-07 02:34:52 UTC (rev 7025) +++ trunk/pywikipedia/families/wikibooks_family.py 2009-07-07 04:55:39 UTC (rev 7026) @@ -286,16 +286,16 @@ # languages are put in the order given there. All other languages are put # after those, in code-alphabetical order.
- alphabetic = ['af','ar','roa-rup','om','bg','be','bn','bs', - 'ca','chr','co','cs','cy','da','de','als','et', - 'el','en','es','eo','eu','fa','fr','fy','gv', - 'gd','gl','ko','hi','hr','io','id','ia','is','it', - 'he','jv','ka','csb','sw','la','lv','lt','hu', - 'mk','mg','ml','mi','mr','ms','zh-cfr','mn','nah','na', - 'nl','ja','no','nb','oc','nds','pl','pt','ro','ru', - 'sa','st','sq','si','simple','sk','sl','sr','su', - 'fi','sv','ta','tt','th','ur','vi', - 'tpi','tr','uk','vo','yi','za','zh','zh-cn', + alphabetic = ['af', 'ar', 'roa-rup', 'om', 'bg', 'be', 'bn', 'bs', + 'ca', 'chr', 'co', 'cs', 'cy', 'da', 'de', 'als', 'et', + 'el', 'en', 'es', 'eo', 'eu', 'fa', 'fr', 'fy', 'gv', + 'gd', 'gl', 'ko', 'hi', 'hr', 'io', 'id', 'ia', 'is', 'it', + 'he', 'jv', 'ka', 'csb', 'sw', 'la', 'lv', 'lt', 'hu', + 'mk', 'mg', 'ml', 'mi', 'mr', 'ms', 'zh-cfr', 'mn', 'nah', 'na', + 'nl', 'ja', 'no', 'nb', 'oc', 'nds', 'pl', 'pt', 'ro', 'ru', + 'sa', 'st', 'sq', 'si', 'simple', 'sk', 'sl', 'sr', 'su', + 'fi', 'sv', 'ta', 'tt', 'th', 'ur', 'vi', + 'tpi', 'tr', 'uk', 'vo', 'yi', 'za', 'zh', 'zh-cn', 'zh-tw']
self.obsolete = { @@ -340,7 +340,7 @@ 'simple': alphabetic } # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... - self.cross_allowed = ['fa','fy','it','ru','simple','zh'] + self.cross_allowed = ['fa', 'fy', 'it', 'ru', 'simple', 'zh']
def version(self, code): return '1.16alpha'
Modified: trunk/pywikipedia/families/wikinews_family.py =================================================================== --- trunk/pywikipedia/families/wikinews_family.py 2009-07-07 02:34:52 UTC (rev 7025) +++ trunk/pywikipedia/families/wikinews_family.py 2009-07-07 04:55:39 UTC (rev 7026) @@ -188,7 +188,7 @@ }
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... - self.cross_allowed = ['cs','hu',] + self.cross_allowed = ['cs', 'hu',]
def code2encoding(self, code): return 'utf-8'
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2009-07-07 02:34:52 UTC (rev 7025) +++ trunk/pywikipedia/families/wikipedia_family.py 2009-07-07 04:55:39 UTC (rev 7026) @@ -26,7 +26,7 @@ 'ia', 'li', 'hy', 'gan', 'kk', 'sah', 'tt', 'tk', 'sa', 'wuu', 'nds-nl', 'fo', 'os', 'vls', 'nrm', 'fiu-vro', 'am', 'rm', 'map-bms', 'pag', 'arz', 'dv', 'mn', 'se', 'diq', 'ne', 'gv', 'fur', 'sco', 'lij', - 'bar', 'nov', 'bh', 'mt', 'ilo', 'pi', 'zh-classical', 'mzn', 'km','frp', + 'bar', 'nov', 'bh', 'mt', 'ilo', 'pi', 'zh-classical', 'mzn', 'km', 'frp', 'csb', 'lad', 'ug', 'si', 'pdc', 'kw', 'ang', 'haw', 'bcl', 'sc', 'to', 'kv', 'mg', 'pa', 'ps', 'szl', 'ie', 'gn', 'my', 'ln', 'hif', 'stq', 'wo', 'jbo', 'crh', 'arc', 'tpi', 'ty', 'ext', 'cbk-zam', @@ -856,20 +856,20 @@
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = [ - 'ab','af','ak','am','ang','arc','arz','as','av','ay','az','ba','bar','bcl', - 'be-x-old','be','bg','bh','bi','bm','bo','bpy','bug','bxr','cbk-zam', - 'cdo','ce','ch','chy','co','crh','cr','csb','cu','diq','dsb','dz', - 'ee','eml','eu','ext','fa','ff','fj','fo','frp','fur','gan','ga','glk', - 'gn','got','gu','gv','ha','hak','haw','hif','hi','hsb','ht','hu','hy', - 'ia','id','ie','ig','ik','ilo','iow','is','iu','jbo','jv','kaa','kab','ka','kg','ki', - 'kl','km','kn','ko','ks','ku','kv','kw','ky','lad','lbe','lg','li','lij', - 'lmo','ln','lo','lv','map-bms','mdf','mg','mk','mn','mt','myv','my','mzn','nah', - 'na','nap','nds-nl','ne','new','nl','nov','nrm','nv','ny','om','or','os','pam','pap', - 'pa','pdc','pnt','ps','qu','rm','rmy','rn','roa-rup','roa-tara','sah', - 'sa','sc','sco','sd','se','sg','sh','simple','si','sk','sm','sn','so', - 'srn','stq','st','su','sw','szl','ta','te','tet','tg','ti','tn','to', - 'tpi','ts','tt','tum','tw','ty','ug','uz','ve','vls','wa','war','wo','wuu', - 'xal','xh','yi','yo','za','zh','zu' + 'ab', 'af', 'ak', 'am', 'ang', 'arc', 'arz', 'as', 'ast,', 'av', 'ay', 'az', + 'ba', 'bar', 'bcl', 'be-x-old', 'be', 'bg', 'bh', 'bi', 'bm', 'bo', 'bpy', 'bug', 'bxr', + 'cbk-zam', 'cdo', 'ce', 'ch', 'chr', 'chy', 'co', 'crh', 'cr', 'csb', 'cu', 'cv', 'cy', + 'diq', 'dsb', 'dz', 'ee', 'eml', 'eu', 'ext', 'fa', 'ff', 'fj', 'fo', 'frp', 'fur', + 'gan', 'ga', 'glk', 'gn', 'got', 'gu', 'gv', 'ha', 'hak', 'haw', 'hif', 'hi', 'hsb', 'ht', 'hu', 'hy', + 'ia', 'id', 'ie', 'ig', 'ik', 'ilo', 'iow', 'is', 'iu', 'jbo', 'jv', + 'kaa', 'kab', 'ka', 'kg', 'ki', 'kl', 'km', 'kn', 'ko', 'ks', 'ku', 'kv', 'kw', 'ky', + 'lad', 'lbe', 'lg', 'li', 'lij', 'lmo', 'ln', 'lo', 'lv', 'map-bms', 'mdf', 'mg', 'mk', 'mn', 'mt', 'myv', 'my', 'mzn', + 'nah', 'na', 'nap', 'nds-nl', 'ne', 'new', 'ng', 'nl', 'nov', 'nrm', 'nv', 'ny', 'om', 'or', 'os', + 'pam', 'pap', 'pa', 'pdc', 'pnt', 'ps', 'qu', 'rm', 'rmy', 'rn', 'roa-rup', 'roa-tara', 'rw', + 'sah', 'sa', 'sc', 'sco', 'sd', 'se', 'sg', 'sh', 'simple', 'si', 'sk', 'sm', 'sn', 'so', 'srn', 'stq', 'st', 'su', 'sw', 'szl', + 'ta', 'te', 'tet', 'tg', 'ti', 'tk', 'tn', 'to', 'tpi', 'ts', 'tt', 'tum', 'tw', 'ty', + 'udm', 'ug', 'uz', 've', 'vls', 'wa', 'war', 'wo', 'wuu', + 'xal', 'xh', 'yi', 'yo', 'za', 'zh', 'zh-classic', 'zh-min-nan', 'zu', ] # On most Wikipedias page names must start with a capital letter, but some # languages don't use this. @@ -934,14 +934,14 @@ 'hu': ['en'], 'lb': self.alphabetic, 'ms': self.alphabetic_revised, - 'nds': ['nds-nl','pdt'] + self.alphabetic, # Note: as of 2008-02-24, pdt: (Plautdietsch) is still in the Incubator. - 'nn': ['no','nb','sv','da'] + self.alphabetic, + 'nds': ['nds-nl', 'pdt'] + self.alphabetic, # Note: as of 2008-02-24, pdt: (Plautdietsch) is still in the Incubator. + 'nn': ['no', 'nb', 'sv', 'da'] + self.alphabetic, 'no': self.alphabetic, 'pl': self.alphabetic, 'simple': self.alphabetic, - 'te': ['en','hi', 'kn', 'ta', 'ml'], + 'te': ['en', 'hi', 'kn', 'ta', 'ml'], 'vi': self.alphabetic_revised, - 'yi': ['en','he','de'] + 'yi': ['en', 'he', 'de'] }
self.obsolete = {
Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2009-07-07 02:34:52 UTC (rev 7025) +++ trunk/pywikipedia/families/wiktionary_family.py 2009-07-07 04:55:39 UTC (rev 7026) @@ -379,8 +379,8 @@
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = [ - 'ang','bg','bn','eo','fa','fy','gd','ia','ie','jv','ka','lt','mk', - 'nl','no','sk','th','ti','ts','uk','vo','za','zh-min-nan','zh', + 'ang', 'ast', 'bg', 'bn', 'eo', 'es', 'fa', 'fy', 'ga', 'gd', 'ia', 'ie', 'jv', 'ka', 'lt', 'mk', + 'nl', 'no', 'sk', 'tg', 'th', 'ti', 'ts', 'ug', 'uk', 'vo', 'za', 'zh-min-nan', 'zh', ] self.obsolete = { 'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Afa...
pywikipedia-svn@lists.wikimedia.org