lists.wikimedia.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
List overview
Download
Pywikipedia-svn
May 2012
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
pywikipedia-svn@lists.wikimedia.org
6 participants
99 discussions
Start a n
N
ew thread
SVN: [10221] trunk/pywikipedia/families/wikibooks_family.py
by xqt@svn.wikimedia.org
18 May '12
18 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10221
Revision: 10221 Author: xqt Date: 2012-05-18 16:24:30 +0000 (Fri, 18 May 2012) Log Message: ----------- wikijunior namespace for fr-wikibooks Modified Paths: -------------- trunk/pywikipedia/families/wikibooks_family.py Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2012-05-16 17:08:56 UTC (rev 10220) +++ trunk/pywikipedia/families/wikibooks_family.py 2012-05-18 16:24:30 UTC (rev 10221) @@ -313,6 +313,7 @@ 'de': u'Regal', 'en': u'Cookbook', 'es': u'Wikiversidad', + 'fr': u'Wikijunior', 'id': u'Wisata', 'it': u'Ripiano', 'ml': u'വിഷയം', @@ -332,6 +333,7 @@ 'de': u'Regal Diskussion', 'en': u'Cookbook talk', 'es': u'Wikiversidad Discusión', + 'fr': u'Discussion Wikijunior', 'id': u'Pembicaraan Wisata', 'it': u'Discussioni ripiano', 'ml': u'വിഷയസംവാദം',
1
0
0
0
SVN: [10220] trunk/pywikipedia/speedy_delete.py
by alexsh@svn.wikimedia.org
16 May '12
16 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10220
Revision: 10220 Author: alexsh Date: 2012-05-16 17:08:56 +0000 (Wed, 16 May 2012) Log Message: ----------- speedy_delete.py: update zhwp shortcut Modified Paths: -------------- trunk/pywikipedia/speedy_delete.py Modified: trunk/pywikipedia/speedy_delete.py =================================================================== --- trunk/pywikipedia/speedy_delete.py 2012-05-16 15:12:55 UTC (rev 10219) +++ trunk/pywikipedia/speedy_delete.py 2012-05-16 17:08:56 UTC (rev 10220) @@ -409,7 +409,7 @@ 'rep':u'[[WP:CSD#G5]]: 經討論被刪除後又重新創建的內容', 'repa':u'[[WP:CSD#G5]]: 重複的文章', 'oprj':u'[[WP:CSD#G7]]: 內容來自其他中文計劃', - 'move':u'[[WP:CSD#G8]]: 依[[Wikipedia:移動請求]]暫時刪除以進行移動或合併頁面之工作', + 'move':u'[[WP:CSD#G8]]: 依[[Wikipedia:移動請求|移動請求]]暫時刪除以進行移動或合併頁面之工作', 'auth':u'[[WP:CSD#G10]]: 原作者請求', 'ad':u'[[WP:CSD#G11]]: 明顯的以廣告宣傳為目而建立的頁面', 'adc':u'[[WP:CSD#G11]]: 只有條目名稱中的人物或團體之聯絡資訊', @@ -419,22 +419,22 @@ 'isol':u'[[WP:CSD#G15]]: 孤立頁面', 'isol-f':u'[[WP:CSD#G15]]: 孤立頁面-沒有對應檔案的檔案頁面', 'isol-sub':u'[[WP:CSD#G15]]: 孤立頁面-沒有對應母頁面的子頁面', + 'tempcp':u'[[WP:CSD#G16]]: 臨時頁面依然侵權', 'cont':u'[[WP:CSD#A1]]: 非常短,而且沒有定義或內容。', - 'nocont':u'[[WP:CSD#A2]]: 沒有內容', + 'nocont':u'[[WP:CSD#A2]]: 內容只包括外部連接、參見、圖書參考、類別標籤、模板標籤、跨語言連接的條目', 'nc':u'[[WP:CSD#A3]]: 跨計劃內容', 'cn':u'[[WP:CSD#R2]]: 跨空間重定向', 'wr':u'[[WP:CSD#R3]]: 錯誤重定向', - 'vdr':u'[[WP:CSD#R4]]: 故意破壞的結果', 'slr':u'[[WP:CSD#R5]]: 指向本身的重定向或循環的重定向', - 'repi':u'[[WP:CSD#I1]]: 重複的檔案', - 'lssd':u'[[WP:CSD#I3]]: 沒有版權或來源資訊,無法確認圖片是否符合方針要求', - 'nls':u'[[WP:CSD#I3]]: 沒有版權模板,無法確認版權資訊', - 'svg':u'[[WP:CSD#I5]]: 被高解析度與SVG檔案取代的圖片', - 'ui':u'[[WP:CSD#I6]]: 圖片未使用且不自由', - 'commons':u'[[WP:CSD#I7]]: 此圖片已存在於[[:commons:|維基共享資源]]', + 'repi':u'[[WP:CSD#F1]]: 重複的檔案', + 'lssd':u'[[WP:CSD#F3]]: 沒有版權或來源資訊,無法確認圖片是否符合方針要求', + 'nls':u'[[WP:CSD#F3]]: 沒有版權模板,無法確認版權資訊', + 'svg':u'[[WP:CSD#F5]]: 被高解析度與SVG檔案取代的圖片', + 'ui':u'[[WP:CSD#F6]]: 圖片未使用且不自由', + 'commons':u'[[WP:CSD#F7]]: 此圖片已存在於[[:commons:|維基共享資源]]', 'urs':u'[[WP:CSD#O1]]: 用戶請求刪除自己的用戶頁子頁面', 'anou':u'[[WP:CSD#O3]]: 匿名用戶的用戶討論頁,其中的內容不再有用', - 'uc':u'[[WP:CSD#O5]]: 空類別', + 'uc':u'[[WP:CSD#O4]]: 空類別', 'tmp':u'[[WP:CSD]]: 臨時頁面', }, },
1
0
0
0
SVN: [10219] branches/rewrite/pywikibot/pagegenerators.py
by xqt@svn.wikimedia.org
16 May '12
16 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10219
Revision: 10219 Author: xqt Date: 2012-05-16 15:12:55 +0000 (Wed, 16 May 2012) Log Message: ----------- remove broken option introduced in r5205, update from trunk r10218 Modified Paths: -------------- branches/rewrite/pywikibot/pagegenerators.py Modified: branches/rewrite/pywikibot/pagegenerators.py =================================================================== --- branches/rewrite/pywikibot/pagegenerators.py 2012-05-16 15:10:55 UTC (rev 10218) +++ branches/rewrite/pywikibot/pagegenerators.py 2012-05-16 15:12:55 UTC (rev 10219) @@ -387,9 +387,6 @@ gen = ReferringPageGenerator(transclusionPage, onlyTemplateInclusion=True) elif arg.startswith('-start'): - if arg.startswith('-startxml'): - pywikibot.output(u'-startxml : wrong parameter') - raise ValueError firstPageTitle = arg[7:] if not firstPageTitle: firstPageTitle = pywikibot.input(
1
0
0
0
SVN: [10218] trunk/pywikipedia/pagegenerators.py
by xqt@svn.wikimedia.org
16 May '12
16 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10218
Revision: 10218 Author: xqt Date: 2012-05-16 15:10:55 +0000 (Wed, 16 May 2012) Log Message: ----------- remove broken option introduced in r5205 Modified Paths: -------------- trunk/pywikipedia/pagegenerators.py Modified: trunk/pywikipedia/pagegenerators.py =================================================================== --- trunk/pywikipedia/pagegenerators.py 2012-05-16 13:55:16 UTC (rev 10217) +++ trunk/pywikipedia/pagegenerators.py 2012-05-16 15:10:55 UTC (rev 10218) @@ -434,9 +434,6 @@ gen = AllpagesPageGenerator(firstPageTitle, namespace, includeredirects=False) elif arg.startswith('-start'): - if arg.startswith('-startxml'): - pywikibot.output(u'-startxml : wrong parameter') - sys.exit() firstPageTitle = arg[7:] if not firstPageTitle: firstPageTitle = pywikibot.input(
1
0
0
0
SVN: [10217] trunk/pywikipedia/featured.py
by xqt@svn.wikimedia.org
16 May '12
16 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10217
Revision: 10217 Author: xqt Date: 2012-05-16 13:55:16 +0000 (Wed, 16 May 2012) Log Message: ----------- remove obsolete categories Modified Paths: -------------- trunk/pywikipedia/featured.py Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2012-05-16 12:33:56 UTC (rev 10216) +++ trunk/pywikipedia/featured.py 2012-05-16 13:55:16 UTC (rev 10217) @@ -148,7 +148,6 @@ 'cy': (BACK,u"Erthygl ddethol"), 'da': (CAT, u"Fremragende artikler"), 'de': (CAT, u"Wikipedia:Exzellent"), - #'dsb':(CAT, u"Ekscelentny"), 'dv': (BACK, u"Featured article"), 'el': (BACK,u"Αξιόλογο άρθρο"), 'en': (CAT, u"Featured articles"), @@ -182,7 +181,6 @@ 'kn': (BACK,u"ವಿಶೇಷ ಲೇಖನ"), 'ko': (CAT, u"알찬 글"), 'krc':(CAT, u"Википедия:Сайланнган статьяла"), - 'ksh':(CAT, u"Exzälenter Aatikkel"), 'kv': (CAT, u"Википедия:Бур гижӧдъяс"), 'la': (CAT, u"Paginae mensis"), 'lad':(CAT, u"Artikolos valutosos"),
1
0
0
0
SVN: [10216] trunk/pywikipedia/featured.py
by xqt@svn.wikimedia.org
16 May '12
16 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10216
Revision: 10216 Author: xqt Date: 2012-05-16 12:33:56 +0000 (Wed, 16 May 2012) Log Message: ----------- update featured articles categories Modified Paths: -------------- trunk/pywikipedia/featured.py Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2012-05-16 00:30:00 UTC (rev 10215) +++ trunk/pywikipedia/featured.py 2012-05-16 12:33:56 UTC (rev 10216) @@ -131,6 +131,7 @@ 'als':(CAT, u"Wikipedia:Bsunders glungener Artikel"), 'am': (CAT, u"Wikipedia:Featured article"), 'an': (CAT, u"Articlos destacatos"), + 'ang':(CAT, u"Fulgōd ȝeƿritu"), 'ar': (CAT, u"مقالات مختارة"), 'ast':(CAT, u"Uiquipedia:Artículos destacaos"), 'az': (BACK,u"Seçilmiş məqalə"), @@ -150,8 +151,8 @@ #'dsb':(CAT, u"Ekscelentny"), 'dv': (BACK, u"Featured article"), 'el': (BACK,u"Αξιόλογο άρθρο"), + 'en': (CAT, u"Featured articles"), 'eo': (CAT, u"Elstaraj artikoloj"), - 'en': (CAT, u"Featured articles"), 'es': (BACK, u"Artículo destacado"), 'et': (CAT, u"Eeskujulikud artiklid"), 'eu': (CAT, u"Nabarmendutako artikuluak"), @@ -161,6 +162,7 @@ 'fo': (CAT, u"Mánaðargrein"), 'fr': (CAT, u"Article de qualité"), 'frr':(BACK,u"Exzellent"), + 'gl': (CAT, u"Wikipedia:Artigos de calidade"), 'gv': (CAT, u"Artyn reiht"), 'he': (CAT, u"ערכים מומלצים"), 'hi': (BACK,u"निर्वाचित लेख"), @@ -174,12 +176,16 @@ 'it': (CAT, u"Voci in vetrina"), 'ja': (BACK,u"Featured article"), 'ka': (CAT, u"რჩეული სტატიები"), + 'kk': (CAT, u"Уикипедия:Таңдаулы мақалалар"), + 'kl': (CAT, u"Anbefalet"), 'km': (BACK,u"អត្ថបទពិសេស"), 'kn': (BACK,u"ವಿಶೇಷ ಲೇಖನ"), 'ko': (CAT, u"알찬 글"), + 'krc':(CAT, u"Википедия:Сайланнган статьяла"), 'ksh':(CAT, u"Exzälenter Aatikkel"), 'kv': (CAT, u"Википедия:Бур гижӧдъяс"), 'la': (CAT, u"Paginae mensis"), + 'lad':(CAT, u"Artikolos valutosos"), 'li': (CAT, u"Wikipedia:Sjterartikele"), 'lmo':(CAT, u"Articol ben faa"), 'lo': (CAT, u"ບົດຄວາມດີເດັ່ນ"), @@ -187,6 +193,7 @@ 'lv': (CAT, u"Vērtīgi raksti"), 'mk': (BACK, u"Избрана"), 'ml': (BACK,u"Featured"), + 'mt': (CAT, u"Artikli fil-vetrina"), 'mr': (CAT, u"मुखपृष्ठ सदर लेख"), 'ms': (BACK,u"Rencana pilihan"), 'nah':(BACK,u"Featured article"), @@ -198,6 +205,7 @@ 'oc': (CAT, u"Article de qualitat"), 'pl': (CAT, u"Artykuły na medal"), 'pt': (CAT, u"!Artigos destacados"), + 'qu': (CAT, u"Wikipidiya:Kusa qillqa"), 'ro': (CAT, u"Articole de calitate"), 'ru': (BACK, u"Избранная статья"), 'sco':(CAT, u"Featurt"), @@ -214,8 +222,10 @@ 'te': (CAT, u"విశేషవ్యాసాలు"), 'th': (BACK,u"บทความคัดสรร"), 'tl': (BACK,u"Napiling artikulo"), + 'tn': (CAT, u"Featured articles"), 'tr': (BACK,u"Seçkin madde"), 'tt': (CAT, u"Сайланган мәкаләләр"), + 'udm':(CAT, u"Википедия:Быръем статьяос"), 'uk': (CAT, u"Вибрані статті"), 'ur': (CAT, u"منتخب مقالے"), 'uz': (CAT, u"Vikipediya:Tanlangan maqolalar"),
1
0
0
0
SVN: [10215] trunk/pywikipedia/featured.py
by shizhao@svn.wikimedia.org
15 May '12
15 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10215
Revision: 10215 Author: shizhao Date: 2012-05-16 00:30:00 +0000 (Wed, 16 May 2012) Log Message: ----------- fix zh Modified Paths: -------------- trunk/pywikipedia/featured.py Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2012-05-15 14:16:54 UTC (rev 10214) +++ trunk/pywikipedia/featured.py 2012-05-16 00:30:00 UTC (rev 10215) @@ -286,7 +286,7 @@ 'tr': (BACK, u'Seçkin liste'), 'uk': (BACK, u'Вибраний список'), 'vi': (BACK, u'Sao danh sách chọn lọc'), - 'zh': (BACK, u'Featured list'), + 'zh': (BACK, u'特色列表'), } # Third parameter is the sort key indicating articles to hide from the given list @@ -300,7 +300,7 @@ 'ru': (CAT, u"Википедия:Устаревшие избранные статьи"), 'th': (CAT, u"บทความคัดสรรในอดีต"), 'tr': (CAT, u"Vikipedi eski seçkin maddeler"), - 'zh': (CAT, u"Wikipedia_former_featured_articles"), + 'zh': (CAT, u"已撤销的特色条目"), } def featuredArticles(site, pType):
1
0
0
0
SVN: [10214] trunk/pywikipedia/families
by shizhao@svn.wikimedia.org
15 May '12
15 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10214
Revision: 10214 Author: shizhao Date: 2012-05-15 14:16:54 +0000 (Tue, 15 May 2012) Log Message: ----------- Wikimedia family update SSL connection and clean code Modified Paths: -------------- trunk/pywikipedia/families/incubator_family.py trunk/pywikipedia/families/mediawiki_family.py trunk/pywikipedia/families/meta_family.py trunk/pywikipedia/families/species_family.py trunk/pywikipedia/families/strategy_family.py trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikinews_family.py trunk/pywikipedia/families/wikipedia_family.py trunk/pywikipedia/families/wikiquote_family.py trunk/pywikipedia/families/wikisource_family.py trunk/pywikipedia/families/wikiversity_family.py trunk/pywikipedia/families/wiktionary_family.py Modified: trunk/pywikipedia/families/incubator_family.py =================================================================== --- trunk/pywikipedia/families/incubator_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/incubator_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -13,9 +13,6 @@ self.langs = { 'incubator': '
incubator.wikimedia.org
', } - if family.config.SSL_connection: - self.langs['incubator'] = None - self.namespaces[4] = { '_default': [u'Incubator', u'I', self.namespaces[4]['_default']], } @@ -44,15 +41,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/wikipedia/incubator/w' - - def nicepath(self, code): - return '/wikipedia/incubator/wiki/' - + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/mediawiki_family.py =================================================================== --- trunk/pywikipedia/families/mediawiki_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/mediawiki_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -15,8 +15,6 @@ self.langs = { 'mediawiki': '
www.mediawiki.org
', } - if family.config.SSL_connection: - self.langs['mediawiki'] = None self.namespaces[4] = { '_default': [u'Project', self.namespaces[4]['_default']], @@ -70,14 +68,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/wikipedia/mediawiki/w' - - def nicepath(self, code): - return '/wikipedia/mediawiki/wiki/' + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/meta_family.py =================================================================== --- trunk/pywikipedia/families/meta_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/meta_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -14,9 +14,6 @@ 'meta': '
meta.wikimedia.org
', } - if family.config.SSL_connection: - self.langs ['meta'] = None - self.namespaces[4] = { '_default': [u'Meta', self.namespaces[4]['_default']], } @@ -163,14 +160,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/wikipedia/meta/w' - - def nicepath(self, code): - return '/wikipedia/meta/wiki/' + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/species_family.py =================================================================== --- trunk/pywikipedia/families/species_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/species_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -13,8 +13,6 @@ self.langs = { 'species': '
species.wikimedia.org
', } - if family.config.SSL_connection: - self.langs['species'] = None self.namespaces[4] = { '_default': [u'Wikispecies', self.namespaces[4]['_default']], @@ -34,14 +32,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/wikipedia/species/w' - - def nicepath(self, code): - return '/wikipedia/species/wiki/' + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/strategy_family.py =================================================================== --- trunk/pywikipedia/families/strategy_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/strategy_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -13,8 +13,6 @@ self.langs = { 'strategy': '
strategy.wikimedia.org
', } - if config.SSL_connection: - self.langs['strategy'] = None self.namespaces[4] = { '_default': [u'Strategic Planning', 'Project'], @@ -38,14 +36,6 @@ return ('commons', 'commons') if config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/wikipedia/strategy/w' - - def nicepath(self, code): - return '/wikipedia/strategy/wiki/' + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikibooks_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -21,10 +21,7 @@ 'ast', 'ku', 'tk', 'uz', 'su', 'vo', 'mn', 'my', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wikibooks.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikibooks.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] @@ -495,14 +492,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikinews_family.py =================================================================== --- trunk/pywikipedia/families/wikinews_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikinews_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -16,10 +16,7 @@ 'tr', 'sd', 'sq', 'uk', 'no', 'bs', 'eo', 'ko', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wikinews.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikinews.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[14]['en'] = [u'Category', u'CAT'] @@ -280,14 +277,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikipedia_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -41,10 +41,7 @@ 'ch', 'ff', 'ny', 'xh', 'tw', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wikipedia.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikipedia.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[1]['ja'] = [u'ノート', u'トーク'] @@ -1502,14 +1499,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikiquote_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -20,10 +20,7 @@ 'wo', 'ky', 'am', 'co', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wikiquote.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikiquote.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] @@ -353,14 +350,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikisource_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -19,14 +19,9 @@ 'kn', 'mr', 'cy', 'zh-min-nan', 'sk', 'fo', ] - if family.config.SSL_connection: - for lang in self.languages_by_size: - self.langs[lang] = None - self.langs['-'] = None - else: - for lang in self.languages_by_size: - self.langs[lang] = '%s.wikisource.org' % lang - self.langs['-'] = '
wikisource.org
' + for lang in self.languages_by_size: + self.langs[lang] = '%s.wikisource.org' % lang + self.langs['-'] = '
wikisource.org
' # Override defaults self.namespaces[10]['zh'] = [u'Template', u'模板', u'样板', u'樣板'] @@ -631,19 +626,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - if code == '-': - return '/wikipedia/sources/w' - - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - if code == '-': - return '/wikipedia/sources/wiki/' - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wikiversity_family.py =================================================================== --- trunk/pywikipedia/families/wikiversity_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wikiversity_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -15,10 +15,7 @@ 'fi', 'sv', 'sl', 'ja', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wikiversity.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wikiversity.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[3]['cs'] = [u'Diskuse s uživatelem', u'Uživatel diskuse', u'Uživatelka diskuse', u'Diskuse s uživatelkou'] @@ -165,14 +162,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2012-05-13 16:36:57 UTC (rev 10213) +++ trunk/pywikipedia/families/wiktionary_family.py 2012-05-15 14:16:54 UTC (rev 10214) @@ -27,10 +27,7 @@ 'jbo', 'dv', 'ne', 'ha', 'ks', 'ay', 'ts', 'dz', ] - if family.config.SSL_connection: - self.langs = dict([(lang, None) for lang in self.languages_by_size]) - else: - self.langs = dict([(lang, '%s.wiktionary.org' % lang) for lang in self.languages_by_size]) + self.langs = dict([(lang, '%s.wiktionary.org' % lang) for lang in self.languages_by_size]) # Override defaults self.namespaces[3]['eo'] = [u'Uzanta diskuto', u'Vikipediista diskuto', u'Uzula diskuto'] @@ -697,14 +694,6 @@ return ('commons', 'commons') if family.config.SSL_connection: - def hostname(self, code): - return '
secure.wikimedia.org
' def protocol(self, code): - return 'https' - - def scriptpath(self, code): - return '/%s/%s/w' % (self.name, code) - - def nicepath(self, code): - return '/%s/%s/wiki/' % (self.name, code) + return 'https' \ No newline at end of file
1
0
0
0
SVN: [10213] trunk/pywikipedia/family.py
by xqt@svn.wikimedia.org
13 May '12
13 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10213
Revision: 10213 Author: xqt Date: 2012-05-13 16:36:57 +0000 (Sun, 13 May 2012) Log Message: ----------- update namespace aliases for mzn-wiki Modified Paths: -------------- trunk/pywikipedia/family.py Modified: trunk/pywikipedia/family.py =================================================================== --- trunk/pywikipedia/family.py 2012-05-13 14:55:14 UTC (rev 10212) +++ trunk/pywikipedia/family.py 2012-05-13 16:36:57 UTC (rev 10213) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# (C) Pywikipedia bot team, 2004-2011 +# (C) Pywikipedia bot team, 2004-2012 # # Distributed under the terms of the MIT license. # @@ -201,7 +201,7 @@ 'mrj': u'Медиа', 'mt': [u'Medja', u'Midja'], 'myv': u'Медия', - 'mzn': [u'مهدیا', u'مدیا'], + 'mzn': [u'مدیا', u'مهدیا'], 'nah': u'Mēdiatl', 'ne': u'मीडिया', 'new': u'माध्यम', @@ -1576,7 +1576,7 @@ 'mr': u'मिडियाविकी', 'mt': [u'MediaWiki', u'MedjaWiki'], 'mwl': u'Biqui', - 'mzn': [u'مهدیاویکی', u'مهدیا ویکی', u'مدیاویکی'], + 'mzn': [u'مدیاویکی', u'مهدیا ویکی', u'مهدیاویکی'], 'nah': u'Huiquimedia', 'ne': u'मीडियाविकि', 'new': u'मिडियाविकि',
1
0
0
0
SVN: [10212] branches/rewrite/pywikibot/families/i18n_family.py
by xqt@svn.wikimedia.org
13 May '12
13 May '12
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10212
Revision: 10212 Author: xqt Date: 2012-05-13 14:55:14 +0000 (Sun, 13 May 2012) Log Message: ----------- Update version from trunk r10162 Modified Paths: -------------- branches/rewrite/pywikibot/families/i18n_family.py Modified: branches/rewrite/pywikibot/families/i18n_family.py =================================================================== --- branches/rewrite/pywikibot/families/i18n_family.py 2012-05-13 14:53:58 UTC (rev 10211) +++ branches/rewrite/pywikibot/families/i18n_family.py 2012-05-13 14:55:14 UTC (rev 10212) @@ -16,4 +16,4 @@ } def version(self, code): - return "1.19alpha" + return "1.20alpha"
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
10
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
Results per page:
10
25
50
100
200