http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10503
Revision: 10503 Author: xqt Date: 2012-08-23 10:23:04 +0000 (Thu, 23 Aug 2012) Log Message: ----------- update namespace aliases, update language_by_size from trunk r10502
Modified Paths: -------------- branches/rewrite/pywikibot/families/anarchopedia_family.py branches/rewrite/pywikibot/families/battlestarwiki_family.py branches/rewrite/pywikibot/families/fon_family.py branches/rewrite/pywikibot/families/gentoo_family.py branches/rewrite/pywikibot/families/lockwiki_family.py branches/rewrite/pywikibot/families/lyricwiki_family.py branches/rewrite/pywikibot/families/omegawiki_family.py branches/rewrite/pywikibot/families/southernapproach_family.py branches/rewrite/pywikibot/families/test_family.py branches/rewrite/pywikibot/families/vikidia_family.py branches/rewrite/pywikibot/families/wikia_family.py branches/rewrite/pywikibot/families/wikibooks_family.py branches/rewrite/pywikibot/families/wikipedia_family.py branches/rewrite/pywikibot/families/wikiquote_family.py branches/rewrite/pywikibot/families/wikisource_family.py branches/rewrite/pywikibot/families/wiktionary_family.py
Modified: branches/rewrite/pywikibot/families/anarchopedia_family.py =================================================================== --- branches/rewrite/pywikibot/families/anarchopedia_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/anarchopedia_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family +from pywikibot import family
# The Anarchopedia family
Modified: branches/rewrite/pywikibot/families/battlestarwiki_family.py =================================================================== --- branches/rewrite/pywikibot/families/battlestarwiki_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/battlestarwiki_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family +from pywikibot import family
# The Battlestar Wiki family, a set of Battlestar wikis. # http://battlestarwiki.org/
Modified: branches/rewrite/pywikibot/families/fon_family.py =================================================================== --- branches/rewrite/pywikibot/families/fon_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/fon_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family +from pywikibot import family
# The official Beta Wiki. class Family(family.Family):
Modified: branches/rewrite/pywikibot/families/gentoo_family.py =================================================================== --- branches/rewrite/pywikibot/families/gentoo_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/gentoo_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*-
-import urllib -import family, config +from pywikibot import family
__version__ = '$Id$'
Modified: branches/rewrite/pywikibot/families/lockwiki_family.py =================================================================== --- branches/rewrite/pywikibot/families/lockwiki_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/lockwiki_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family +from pywikibot import family
# The locksmithwiki family
Modified: branches/rewrite/pywikibot/families/lyricwiki_family.py =================================================================== --- branches/rewrite/pywikibot/families/lyricwiki_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/lyricwiki_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family +from pywikibot import family
# The LyricWiki family
Modified: branches/rewrite/pywikibot/families/omegawiki_family.py =================================================================== --- branches/rewrite/pywikibot/families/omegawiki_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/omegawiki_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family +from pywikibot import family
# Omegawiki, the Ultimate online dictionary
Modified: branches/rewrite/pywikibot/families/southernapproach_family.py =================================================================== --- branches/rewrite/pywikibot/families/southernapproach_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/southernapproach_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family, config +from pywikibot import family
# ZRHwiki, formerly known as SouthernApproachWiki, a wiki about Zürich Airport.
Modified: branches/rewrite/pywikibot/families/test_family.py =================================================================== --- branches/rewrite/pywikibot/families/test_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/test_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -4,7 +4,6 @@
from pywikibot import family
- # The test wikipedia family class Family(family.Family): def __init__(self):
Modified: branches/rewrite/pywikibot/families/vikidia_family.py =================================================================== --- branches/rewrite/pywikibot/families/vikidia_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/vikidia_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __version__ = '$Id$'
-import family +from pywikibot import family
class Family(family.Family): def __init__(self):
Modified: branches/rewrite/pywikibot/families/wikia_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikia_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wikia_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -2,7 +2,7 @@
__version__ = '$Id$'
-import family +from pywikibot import family
# The Wikia Search family # user-config.py: usernames['wikia']['wikia'] = 'User name'
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikibooks_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wikibooks_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -13,12 +13,12 @@ self.languages_by_size = [ 'en', 'de', 'fr', 'hu', 'ja', 'pt', 'nl', 'pl', 'it', 'es', 'vi', 'he', 'sq', 'fi', 'ca', 'id', 'ru', 'cs', 'zh', 'hr', 'sv', 'tr', - 'da', 'th', 'gl', 'ta', 'no', 'ko', 'fa', 'sr', 'ar', 'tl', 'mk', + 'da', 'th', 'gl', 'ta', 'no', 'fa', 'ko', 'sr', 'ar', 'tl', 'mk', 'is', 'tt', 'lt', 'ka', 'az', 'eo', 'ro', 'bg', 'el', 'uk', 'hy', 'sl', 'sk', 'si', 'li', 'la', 'ang', 'ia', 'cv', 'et', 'ur', 'mr', - 'bn', 'ms', 'hi', 'oc', 'kk', 'ml', 'eu', 'fy', 'ie', 'ne', 'te', + 'bn', 'ms', 'hi', 'oc', 'ml', 'kk', 'eu', 'fy', 'ie', 'ne', 'te', 'af', 'sa', 'tg', 'pa', 'bs', 'ky', 'mg', 'cy', 'be', 'zh-min-nan', - 'ku', 'uz', 'su', + 'ku', 'uz', ]
self.langs = dict([(lang, '%s.wikibooks.org' % lang) for lang in self.languages_by_size])
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikipedia_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wikipedia_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -14,31 +14,31 @@ 'en', 'de', 'fr', 'nl', 'it', 'pl', 'es', 'ru', 'ja', 'pt', 'zh', 'sv', 'vi', 'uk', 'ca', 'no', 'fi', 'cs', 'hu', 'fa', 'ko', 'ro', 'id', 'tr', 'ar', 'sk', 'eo', 'da', 'sr', 'lt', 'kk', 'ms', 'he', - 'eu', 'bg', 'sl', 'vo', 'hr', 'war', 'hi', 'et', 'az', 'gl', 'nn', + 'eu', 'bg', 'sl', 'vo', 'hr', 'war', 'hi', 'et', 'gl', 'az', 'nn', 'simple', 'la', 'el', 'th', 'new', 'sh', 'roa-rup', 'oc', 'mk', - 'ka', 'tl', 'ht', 'pms', 'te', 'ta', 'be-x-old', 'be', 'br', 'lv', - 'ceb', 'sq', 'jv', 'mg', 'cy', 'mr', 'lb', 'is', 'bs', 'uz', 'my', - 'yo', 'an', 'lmo', 'hy', 'ml', 'fy', 'bpy', 'pnb', 'sw', 'bn', 'io', + 'ka', 'tl', 'ht', 'pms', 'te', 'ta', 'be', 'be-x-old', 'br', 'lv', + 'ceb', 'sq', 'jv', 'mg', 'cy', 'mr', 'lb', 'uz', 'is', 'bs', 'my', + 'yo', 'an', 'lmo', 'hy', 'ml', 'fy', 'pnb', 'bpy', 'sw', 'bn', 'io', 'af', 'gu', 'zh-yue', 'ne', 'nds', 'ur', 'ku', 'ast', 'scn', 'su', 'qu', 'diq', 'ba', 'tt', 'ga', 'cv', 'ia', 'nap', 'bat-smg', - 'map-bms', 'wa', 'als', 'am', 'kn', 'gd', 'bug', 'tg', 'zh-min-nan', - 'sco', 'mzn', 'yi', 'vec', 'hif', 'roa-tara', 'ky', 'arz', 'os', - 'nah', 'sah', 'ckb', 'mn', 'sa', 'pam', 'hsb', 'li', 'mi', 'si', - 'co', 'gan', 'glk', 'bar', 'bo', 'fo', 'bcl', 'ilo', 'mrj', 'se', - 'nds-nl', 'fiu-vro', 'tk', 'vls', 'ps', 'gv', 'rue', 'dv', 'nrm', - 'pag', 'pa', 'koi', 'xmf', 'rm', 'km', 'kv', 'csb', 'udm', 'zea', - 'mhr', 'fur', 'mt', 'wuu', 'lad', 'lij', 'ug', 'pi', 'sc', 'or', - 'zh-classical', 'bh', 'nov', 'ksh', 'frr', 'ang', 'so', 'kw', 'stq', - 'nv', 'hak', 'ay', 'frp', 'ext', 'szl', 'pcd', 'gag', 'ie', 'ln', - 'haw', 'xal', 'vep', 'rw', 'pdc', 'pfl', 'gn', 'eml', 'krc', 'crh', - 'ace', 'to', 'ce', 'kl', 'arc', 'myv', 'dsb', 'as', 'bjn', 'pap', - 'tpi', 'lbe', 'mdf', 'wo', 'jbo', 'sn', 'kab', 'av', 'cbk-zam', - 'ty', 'srn', 'lez', 'kbd', 'lo', 'ab', 'tet', 'mwl', 'ltg', 'na', - 'ig', 'kg', 'za', 'kaa', 'nso', 'zu', 'rmy', 'cu', 'tn', 'chy', - 'chr', 'got', 'sm', 'bi', 'iu', 'bm', 'ik', 'pih', 'ss', 'sd', - 'pnt', 'cdo', 'ee', 'ha', 'ti', 'bxr', 'ts', 'om', 'ks', 'ki', 've', - 'sg', 'rn', 'cr', 'lg', 'dz', 'ak', 'ff', 'tum', 'fj', 'st', 'tw', - 'xh', 'ny', 'ch', + 'map-bms', 'wa', 'als', 'kn', 'am', 'gd', 'bug', 'tg', 'ckb', + 'zh-min-nan', 'sco', 'yi', 'mzn', 'vec', 'hif', 'ky', 'roa-tara', + 'arz', 'nah', 'os', 'sah', 'mn', 'sa', 'pam', 'hsb', 'li', 'mi', + 'si', 'co', 'gan', 'glk', 'fo', 'bar', 'bo', 'ilo', 'bcl', 'se', + 'mrj', 'nds-nl', 'fiu-vro', 'tk', 'ps', 'vls', 'gv', 'rue', 'dv', + 'xmf', 'pag', 'nrm', 'pa', 'koi', 'rm', 'kv', 'km', 'zea', 'csb', + 'udm', 'mhr', 'fur', 'mt', 'lad', 'wuu', 'lij', 'ug', 'or', 'pi', + 'sc', 'zh-classical', 'bh', 'frr', 'nov', 'ksh', 'ang', 'so', 'kw', + 'stq', 'nv', 'hak', 'ay', 'frp', 'ext', 'pcd', 'szl', 'gag', 'ie', + 'ln', 'vep', 'haw', 'xal', 'gn', 'rw', 'pdc', 'pfl', 'eml', 'krc', + 'crh', 'ace', 'to', 'ce', 'kl', 'arc', 'myv', 'dsb', 'as', 'bjn', + 'pap', 'sn', 'tpi', 'lbe', 'mdf', 'wo', 'jbo', 'kab', 'av', + 'cbk-zam', 'srn', 'ty', 'lez', 'kbd', 'lo', 'ab', 'tet', 'mwl', + 'ltg', 'na', 'ig', 'kg', 'za', 'kaa', 'nso', 'zu', 'rmy', 'cu', + 'tn', 'chy', 'chr', 'cdo', 'got', 'sm', 'bi', 'iu', 'bm', 'pih', + 'ss', 'sd', 'pnt', 'ee', 'ha', 'bxr', 'ti', 'ts', 'om', 'ks', 'ki', + 've', 'sg', 'rn', 'cr', 'lg', 'dz', 'ak', 'ik', 'ff', 'ch', 'tum', + 'fj', 'st', 'tw', 'xh', 'ny', ]
self.langs = dict([(lang, '%s.wikipedia.org' % lang) for lang in self.languages_by_size])
Modified: branches/rewrite/pywikibot/families/wikiquote_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikiquote_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wikiquote_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -13,8 +13,8 @@ self.languages_by_size = [ 'en', 'pl', 'it', 'ru', 'fr', 'de', 'pt', 'es', 'sk', 'cs', 'bg', 'bs', 'tr', 'sl', 'he', 'eo', 'lt', 'el', 'uk', 'zh', 'id', 'fa', - 'hu', 'fi', 'sv', 'nl', 'li', 'no', 'nn', 'ja', 'az', 'ca', 'hy', - 'et', 'ar', 'hr', 'cy', 'ko', 'ka', 'gl', 'ml', 'sr', 'ro', 'ku', + 'hu', 'fi', 'li', 'sv', 'nl', 'no', 'nn', 'ja', 'az', 'ca', 'hy', + 'ar', 'et', 'hr', 'cy', 'ko', 'ka', 'gl', 'ml', 'sr', 'ro', 'ku', 'te', 'th', 'is', 'eu', 'da', 'af', 'sq', 'vi', 'ta', 'hi', 'la', 'br', 'be', 'mr', 'uz', 'ur', 'zh-min-nan', 'gu', 'su', 'kn', 'wo', 'ky', 'am',
Modified: branches/rewrite/pywikibot/families/wikisource_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikisource_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wikisource_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -12,10 +12,10 @@
self.languages_by_size = [ 'fr', 'en', 'de', 'ru', 'it', 'zh', 'pt', 'pl', 'he', 'es', 'sv', - 'fa', 'hu', 'ar', 'ca', 'cs', 'ko', 'sl', 'ro', 'fi', 'vi', 'te', - 'sa', 'el', 'bn', 'sr', 'th', 'hr', 'hy', 'no', 'nl', 'la', 'ml', + 'fa', 'hu', 'ar', 'cs', 'ca', 'ko', 'sl', 'ro', 'fi', 'vi', 'te', + 'sa', 'el', 'bn', 'sr', 'th', 'hr', 'hy', 'no', 'nl', 'ml', 'la', 'vec', 'tr', 'ja', 'yi', 'br', 'uk', 'id', 'mk', 'ta', 'is', 'eo', - 'da', 'be', 'li', 'bs', 'bg', 'gu', 'et', 'sah', 'mr', 'az', 'gl', + 'da', 'be', 'li', 'et', 'gu', 'bs', 'bg', 'sah', 'mr', 'az', 'gl', 'lt', 'kn', 'cy', 'zh-min-nan', 'sk', 'fo', ]
Modified: branches/rewrite/pywikibot/families/wiktionary_family.py =================================================================== --- branches/rewrite/pywikibot/families/wiktionary_family.py 2012-08-23 10:22:31 UTC (rev 10502) +++ branches/rewrite/pywikibot/families/wiktionary_family.py 2012-08-23 10:23:04 UTC (rev 10503) @@ -12,19 +12,19 @@
self.languages_by_size = [ 'en', 'fr', 'mg', 'zh', 'lt', 'ru', 'el', 'ko', 'tr', 'pl', 'ta', - 'sv', 'vi', 'de', 'kn', 'nl', 'io', 'fi', 'hu', 'pt', 'no', 'my', + 'sv', 'vi', 'nl', 'de', 'kn', 'io', 'fi', 'hu', 'pt', 'no', 'my', 'id', 'it', 'li', 'ml', 'et', 'ja', 'es', 'fa', 'ku', 'ar', 'ro', - 'cs', 'lo', 'gl', 'ca', 'uk', 'eu', 'bg', 'eo', 'br', 'te', 'hr', + 'cs', 'lo', 'gl', 'ca', 'eu', 'uk', 'bg', 'eo', 'br', 'te', 'hr', 'vo', 'oc', 'is', 'th', 'simple', 'scn', 'sr', 'af', 'sw', 'cy', - 'fy', 'tl', 'ast', 'fj', 'ur', 'he', 'la', 'zh-min-nan', 'wa', 'sq', - 'da', 'hy', 'sl', 'tt', 'hi', 'az', 'nn', 'lv', 'ka', 'pnb', 'lb', - 'tk', 'hsb', 'kk', 'bs', 'nah', 'km', 'mk', 'be', 'wo', 'ga', 'ang', - 'co', 'ms', 'sm', 'gn', 'mr', 'csb', 'st', 'nds', 'sk', 'ia', 'si', - 'sh', 'sd', 'tg', 'ug', 'ky', 'kl', 'an', 'zu', 'sa', 'jbo', 'mn', - 'gu', 'ps', 'rw', 'fo', 'kw', 'ss', 'gv', 'ie', 'qu', 'om', + 'fy', 'tl', 'ast', 'nn', 'fj', 'ur', 'he', 'zh-min-nan', 'la', 'wa', + 'da', 'sq', 'hy', 'sl', 'hi', 'tt', 'az', 'lv', 'ka', 'pnb', 'lb', + 'tk', 'hsb', 'bs', 'kk', 'nah', 'km', 'mk', 'be', 'wo', 'ga', 'ang', + 'ms', 'co', 'sm', 'gn', 'mr', 'csb', 'sk', 'st', 'nds', 'ia', 'si', + 'sh', 'sd', 'tg', 'ug', 'ky', 'kl', 'an', 'jbo', 'zu', 'mn', 'sa', + 'gu', 'ps', 'rw', 'fo', 'kw', 'gv', 'ss', 'ie', 'qu', 'om', 'roa-rup', 'iu', 'bn', 'am', 'chr', 'so', 'su', 'za', 'gd', 'mt', - 'mi', 'jv', 'tpi', 'ik', 'yi', 'ln', 'or', 'uz', 'ti', 'sg', 'na', - 'pa', 'tn', 'dv', 'ne', 'ha', 'ks', 'ay', 'ts', + 'jv', 'mi', 'tpi', 'ik', 'yi', 'ln', 'or', 'uz', 'ti', 'sg', 'na', + 'pa', 'dv', 'tn', 'ne', 'ha', 'ks', 'ay', 'ts', ]
self.langs = dict([(lang, '%s.wiktionary.org' % lang) for lang in self.languages_by_size])
pywikipedia-svn@lists.wikimedia.org