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
February 2013
----- 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
10 participants
119 discussions
Start a n
N
ew thread
SVN: [11110] trunk/pywikipedia/families/wiktionary_family.py
by xqt@svn.wikimedia.org
24 Feb '13
24 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11110
Revision: 11110 Author: xqt Date: 2013-02-24 13:14:57 +0000 (Sun, 24 Feb 2013) Log Message: ----------- Mark Inupiaq Wiktionary as obsolete, patch bug #3605718 submitted by pathoschild, see
https://bugzilla.wikimedia.org/show_bug.cgi?id=43769
Modified Paths: -------------- trunk/pywikipedia/families/wiktionary_family.py Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2013-02-24 12:22:44 UTC (rev 11109) +++ trunk/pywikipedia/families/wiktionary_family.py 2013-02-24 13:14:57 UTC (rev 11110) @@ -23,8 +23,8 @@ 'st', 'nds', 'ia', 'si', 'sh', 'sd', 'tg', 'ug', 'kl', 'sa', 'mn', 'jbo', 'an', 'zu', 'or', 'gu', 'rw', 'kw', 'fo', 'gv', 'qu', 'ss', 'ie', 'mt', 'om', 'chr', 'roa-rup', 'iu', 'bn', 'pa', 'so', 'am', - 'su', 'za', 'gd', 'mi', 'tpi', 'ik', 'yi', 'ln', 'ti', 'sg', 'na', - 'dv', 'tn', 'ne', 'ha', 'ks', 'ay', 'ts', + 'su', 'za', 'gd', 'mi', 'tpi', 'yi', 'ln', 'ti', 'sg', 'na', 'dv', + 'tn', 'ne', 'ha', 'ks', 'ay', 'ts', ] self.langs = dict([(lang, '%s.wiktionary.org' % lang) @@ -663,6 +663,7 @@ 'cr': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ne…
'dk': 'da', 'dz': None, + 'ik': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_In…
'jp': 'ja', 'mh': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ma…
'mo': 'ro', #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Mo…
1
0
0
0
SVN: [11109] trunk/pywikipedia/families
by xqt@svn.wikimedia.org
24 Feb '13
24 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11109
Revision: 11109 Author: xqt Date: 2013-02-24 12:22:44 +0000 (Sun, 24 Feb 2013) Log Message: ----------- update namespace aliases Modified Paths: -------------- trunk/pywikipedia/families/meta_family.py trunk/pywikipedia/families/test_family.py trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikidata_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/wikivoyage_family.py trunk/pywikipedia/families/wiktionary_family.py Modified: trunk/pywikipedia/families/meta_family.py =================================================================== --- trunk/pywikipedia/families/meta_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/meta_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -141,6 +141,18 @@ self.namespaces[205] = { '_default': u'Participation talk', } + self.namespaces[206] = { + '_default': u'Iberocoop', + } + self.namespaces[207] = { + '_default': u'Iberocoop talk', + } + self.namespaces[470] = { + '_default': u'Schema', + } + self.namespaces[471] = { + '_default': u'Schema talk', + } self.namespaces[1198] = { '_default': u'Translations', } Modified: trunk/pywikipedia/families/test_family.py =================================================================== --- trunk/pywikipedia/families/test_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/test_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -144,6 +144,12 @@ self.namespaces[711] = { '_default': u'TimedText talk', } + self.namespaces[866] = { + '_default': u'CNBanner', + } + self.namespaces[867] = { + '_default': u'CNBanner talk', + } self.namespaces[1198] = { '_default': u'Translations', } Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikibooks_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -26,8 +26,6 @@ # Override defaults self.namespaces[2]['ru'] = [u'Участник', u'Участница'] - self.namespaces[10]['ru'] = [u'Шаблон'] - self.namespaces[14]['ru'] = [u'Категория'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[14]['en'] = [u'Category', u'CAT'] @@ -36,10 +34,10 @@ self.namespaces[14]['zh'] = [u'Category', u'分类', u'分類'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] + self.namespaces[6]['be'] = [u'Файл', u'Выява'] + self.namespaces[7]['be'] = [u'Размовы пра файл', u'Размовы пра выяву'] self.namespaces[3]['ca'] = [u'Usuari Discussió'] self.namespaces[2]['ca'] = [u'Usuari'] - self.namespaces[13]['de'] = [u'Hilfe Diskussion'] - self.namespaces[12]['de'] = [u'Hilfe'] self.namespaces[14]['tr'] = [u'Kategori', u'KAT'] self.namespaces[13]['da'] = [u'Hjælp diskussion', u'Hjælp-diskussion'] self.namespaces[9]['da'] = [u'MediaWiki diskussion', u'MediaWiki-diskussion'] @@ -106,6 +104,7 @@ 'ja': u'Wikibooks', 'ka': [u'ვიკიწიგნები', u'Wikibooks'], 'kk': [u'Уикикітап', u'Wikibooks'], + 'km': u'Wikibooks', 'ko': [u'위키책', u'Wikibooks'], 'ku': u'Wikibooks', 'ky': u'Wikibooks', @@ -201,7 +200,7 @@ 'ja': [u'Wikibooks・トーク', u'Wikibooks‐ノート'], 'ka': u'ვიკიწიგნები განხილვა', 'kk': [u'Уикикітап талқылауы', u'Уикикітап talqılawı', u'Уикикітап تالقىلاۋى'], - 'km': u'ការពិភាក្សាអំពីWikibooks', + 'km': [u'ការពិភាក្សាអំពីWikibooks', u'Wikibooks ពិភាក្ស'], 'kn': u'Wikibooks ಚರ್ಚೆ', 'ko': u'위키책토론', 'ku': [u'Gotûbêja Wîkîpirtûkê', u'Wikibooks nîqaş'], Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikidata_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -16,6 +16,14 @@ 'client': 'wikidata-test-client.wikimedia.de', } + # Override defaults + self.namespaces[1]['repo'] = [u'Talk', u'Item talk'] + self.namespaces[0]['repo'] = [u'', u'Item'] + + # Most namespaces are inherited from family.Family. + # Translation used on all wikis for the different namespaces. + # (Please sort languages alphabetically) + # You only need to enter translations that differ from _default. self.namespaces[4] = { '_default': [u'Wikidata', u'WD', 'Project'], 'client': u'Testwiki', Modified: trunk/pywikipedia/families/wikinews_family.py =================================================================== --- trunk/pywikipedia/families/wikinews_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikinews_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -20,10 +20,15 @@ for lang in self.languages_by_size]) # Override defaults + self.namespaces[2]['ru'] = [u'Участник', u'Участница'] + self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] + self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[14]['en'] = [u'Category', u'CAT'] self.namespaces[10]['zh'] = [u'Template', u'模板', u'样板', u'樣板'] self.namespaces[12]['zh'] = [u'Help', u'帮助', u'幫助'] self.namespaces[14]['zh'] = [u'Category', u'分类', u'分類'] + self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] + self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] self.namespaces[3]['ca'] = [u'Usuari Discussió'] self.namespaces[2]['ca'] = [u'Usuari'] self.namespaces[3]['cs'] = [u'Diskuse s redaktorem', u'Diskuse s redaktorkou', u'Diskuse s uživatelem', u'Redaktor diskuse', u'Redaktorka diskuse', u'Uživatel diskuse', u'Uživatelka diskuse', u'Diskuse s uživatelkou'] Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikipedia_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -47,6 +47,8 @@ # Override defaults self.namespaces[3]['cs'] = [u'Diskuse s wikipedistou', u'Diskuse s uživatelem', u'Diskuse s wikipedistkou', u'Wikipedista diskuse', u'Wikipedistka diskuse', u'Uživatel diskuse', u'Uživatelka diskuse'] self.namespaces[3]['de'] = [u'Benutzer Diskussion', u'BD', u'Benutzerin Diskussion'] + self.namespaces[12]['de'] = [u'Hilfe', u'H'] + self.namespaces[13]['de'] = [u'Hilfe Diskussion', u'HD'] self.namespaces[1]['ja'] = [u'ノート', u'トーク'] self.namespaces[3]['ja'] = [u'利用者‐会話', u'利用者・トーク'] self.namespaces[7]['ja'] = [u'ファイル‐ノート', u'ファイル・トーク', u'Image talk', u'画像‐ノート'] @@ -57,6 +59,8 @@ self.namespaces[13]['ja'] = [u'Help‐ノート', u'ヘルプ・トーク'] self.namespaces[14]['ja'] = [u'Category', u'カテゴリ'] self.namespaces[15]['ja'] = [u'Category‐ノート', u'カテゴリ・トーク'] + self.namespaces[10]['ru'] = [u'Шаблон', u'Ш', u'T'] + self.namespaces[14]['ru'] = [u'Категория', u'К'] # Most namespaces are inherited from family.Family. # Translation used on all wikis for the different namespaces. @@ -427,7 +431,7 @@ 'gl': u'Conversa Wikipedia', 'glk': u'بحث Wikipedia', 'gn': u'Vikipetã myangekõi', - 'got': u'𐌸𐌹𐍃 Wikipedia 𐌲𐌰𐍅𐌰𐌿𐍂𐌳𐌾𐌰', + 'got': u'??? Wikipedia ?????????', 'gu': u'વિકિપીડિયા ચર્ચા', 'gv': u'Resooney Wikipedia', 'ha': u'Wikipedia talk', Modified: trunk/pywikipedia/families/wikiquote_family.py =================================================================== --- trunk/pywikipedia/families/wikiquote_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikiquote_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -24,18 +24,16 @@ for lang in self.languages_by_size]) # Override defaults - self.namespaces[10]['ru'] = [u'Шаблон'] - self.namespaces[14]['ru'] = [u'Категория'] self.namespaces[2]['ru'] = [u'Участник', u'Участница'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[12]['nl'] = [u'Help'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] + self.namespaces[6]['be'] = [u'Файл', u'Выява'] + self.namespaces[7]['be'] = [u'Размовы пра файл', u'Размовы пра выяву'] self.namespaces[3]['ca'] = [u'Usuari Discussió'] self.namespaces[2]['ca'] = [u'Usuari'] - self.namespaces[13]['de'] = [u'Hilfe Diskussion'] - self.namespaces[12]['de'] = [u'Hilfe'] self.namespaces[3]['de'] = [u'Benutzer Diskussion', u'BD', u'Benutzerin Diskussion'] self.namespaces[13]['da'] = [u'Hjælp diskussion', u'Hjælp-diskussion'] self.namespaces[9]['da'] = [u'MediaWiki diskussion', u'MediaWiki-diskussion'] Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikisource_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -29,11 +29,10 @@ self.namespaces[14]['zh'] = [u'Category', u'分类', u'分類'] self.namespaces[3]['ca'] = [u'Usuari Discussió'] self.namespaces[2]['ca'] = [u'Usuari'] + self.namespaces[14]['as'] = [u'শ্ৰেণী', u'श्रेणी', u'শ্রেণী'] self.namespaces[3]['cs'] = [u'Diskuse s uživatelem', u'Uživatel diskuse', u'Uživatelka diskuse', u'Diskuse s uživatelkou'] self.namespaces[2]['cs'] = [u'Uživatel', u'Uživatelka'] self.namespaces[2]['ru'] = [u'Участник', u'Участница'] - self.namespaces[10]['ru'] = [u'Шаблон'] - self.namespaces[14]['ru'] = [u'Категория'] self.namespaces[12]['nl'] = [u'Help'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] @@ -41,12 +40,12 @@ self.namespaces[9]['ro'] = [u'Discuție MediaWiki', u'Discuţie MediaWiki'] self.namespaces[3]['pl'] = [u'Dyskusja wikiskryby', u'Dyskusja użytkownika', u'Dyskusja użytkowniczki'] self.namespaces[2]['pl'] = [u'Wikiskryba', u'Użytkownik', u'Użytkowniczka'] + self.namespaces[7]['be'] = [u'Размовы пра файл', u'Размовы пра выяву'] + self.namespaces[6]['be'] = [u'Файл', u'Выява'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[15]['bn'] = [u'বিষয়শ্রেণী আলোচনা'] self.namespaces[14]['bn'] = [u'বিষয়শ্রেণী'] - self.namespaces[13]['de'] = [u'Hilfe Diskussion'] - self.namespaces[12]['de'] = [u'Hilfe'] self.namespaces[9]['da'] = [u'MediaWiki diskussion', u'MediaWiki-diskussion'] self.namespaces[13]['da'] = [u'Hjælp diskussion', u'Hjælp-diskussion'] self.namespaces[12]['ml'] = [u'സഹായം', u'H', u'സ'] Modified: trunk/pywikipedia/families/wikiversity_family.py =================================================================== --- trunk/pywikipedia/families/wikiversity_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikiversity_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -19,6 +19,13 @@ 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'] + self.namespaces[2]['cs'] = [u'Uživatel', u'Uživatelka'] + self.namespaces[2]['ru'] = [u'Участник', u'Участница'] + self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] + self.namespaces[2]['fr'] = [u'Utilisateur'] + self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] + self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] # Most namespaces are inherited from family.Family. # Translation used on all wikis for the different namespaces. Modified: trunk/pywikipedia/families/wikivoyage_family.py =================================================================== --- trunk/pywikipedia/families/wikivoyage_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wikivoyage_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -18,16 +18,12 @@ for lang in self.languages_by_size]) # Override defaults - self.namespaces[10]['ru'] = [u'Шаблон'] - self.namespaces[14]['ru'] = [u'Категория'] self.namespaces[2]['ru'] = [u'Участник', u'Участница'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[12]['nl'] = [u'Help'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] - self.namespaces[13]['de'] = [u'Hilfe Diskussion'] - self.namespaces[12]['de'] = [u'Hilfe'] self.namespaces[9]['ro'] = [u'Discuție MediaWiki', u'Discuţie MediaWiki'] self.namespaces[3]['pl'] = [u'Dyskusja użytkownika', u'Dyskusja użytkowniczki'] self.namespaces[2]['pl'] = [u'Użytkownik', u'Użytkowniczka'] Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2013-02-24 12:18:20 UTC (rev 11108) +++ trunk/pywikipedia/families/wiktionary_family.py 2013-02-24 12:22:44 UTC (rev 11109) @@ -32,19 +32,17 @@ # Override defaults self.namespaces[2]['ru'] = [u'Участник', u'Участница'] - self.namespaces[10]['ru'] = [u'Шаблон'] - self.namespaces[14]['ru'] = [u'Категория'] self.namespaces[3]['eo'] = [u'Uzanta diskuto', u'Vikipediista diskuto', u'Uzula diskuto'] self.namespaces[10]['zh'] = [u'Template', u'模板', u'样板', u'樣板'] self.namespaces[12]['zh'] = [u'Help', u'帮助', u'幫助'] self.namespaces[14]['zh'] = [u'Category', u'分类', u'分類'] self.namespaces[3]['pt'] = [u'Utilizador Discussão', u'Usuário Discussão', u'Utilizadora Discussão'] self.namespaces[2]['pt'] = [u'Utilizador', u'Usuário', u'Utilizadora'] + self.namespaces[6]['be'] = [u'Файл', u'Выява'] + self.namespaces[7]['be'] = [u'Размовы пра файл', u'Размовы пра выяву'] self.namespaces[15]['bn'] = [u'বিষয়শ্রেণী আলোচনা'] self.namespaces[14]['bn'] = [u'বিষয়শ্রেণী'] self.namespaces[3]['de'] = [u'Benutzer Diskussion', u'BD', u'Benutzerin Diskussion'] - self.namespaces[13]['de'] = [u'Hilfe Diskussion'] - self.namespaces[12]['de'] = [u'Hilfe'] self.namespaces[3]['fr'] = [u'Discussion utilisateur', u'Discussion Utilisateur'] self.namespaces[2]['fr'] = [u'Utilisateur'] self.namespaces[13]['da'] = [u'Hjælp diskussion', u'Hjælp-diskussion']
1
0
0
0
SVN: [11108] trunk/pywikipedia/family.py
by xqt@svn.wikimedia.org
24 Feb '13
24 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11108
Revision: 11108 Author: xqt Date: 2013-02-24 12:18:20 +0000 (Sun, 24 Feb 2013) Log Message: ----------- update namespace aliases Modified Paths: -------------- trunk/pywikipedia/family.py Modified: trunk/pywikipedia/family.py =================================================================== --- trunk/pywikipedia/family.py 2013-02-24 11:51:42 UTC (rev 11107) +++ trunk/pywikipedia/family.py 2013-02-24 12:18:20 UTC (rev 11108) @@ -2070,7 +2070,7 @@ 'rm': u'Model', 'rmy': u'Sikavno', 'ro': u'Format', - 'ru': [u'Шаблон', u'Ш', u'T'], + 'ru': u'Шаблон', 'rue': u'Шаблона', 'sa': [u'फलकम्', u'बिंबधर'], 'sah': u'Халыып', @@ -2389,7 +2389,7 @@ 'cv': u'Пулăшу', 'cy': u'Cymorth', 'da': u'Hjælp', - 'de': [u'Hilfe', u'H'], + 'de': u'Hilfe', 'diq': [u'Peşti', u'Desteg'], 'dsb': u'Pomoc', 'dv': u'އެހީ', @@ -2612,7 +2612,7 @@ 'cv': u'Пулăшăва сӳтсе явмалли', 'cy': u'Sgwrs Cymorth', 'da': u'Hjælp-diskussion', - 'de': [u'Hilfe Diskussion', u'HD'], + 'de': u'Hilfe Diskussion', 'diq': [u'Peşti werênayış', u'Desteg werênayış'], 'dsb': u'Diskusija wó pomocy', 'dv': u'އެހީ ޚިޔާލު', @@ -2957,7 +2957,7 @@ 'rm': u'Categoria', 'rmy': u'Shopni', 'ro': u'Categorie', - 'ru': [u'Категория', u'К'], + 'ru': u'Категория', 'rue': u'Катеґорія', 'sa': u'वर्गः', 'sah': u'Категория',
1
0
0
0
SVN: [11107] trunk/pywikipedia/families/wikipedia_family.py
by xqt@svn.wikimedia.org
24 Feb '13
24 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11107
Revision: 11107 Author: xqt Date: 2013-02-24 11:51:42 +0000 (Sun, 24 Feb 2013) Log Message: ----------- fix for r11096 Modified Paths: -------------- trunk/pywikipedia/families/wikipedia_family.py Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2013-02-23 22:23:33 UTC (rev 11106) +++ trunk/pywikipedia/families/wikipedia_family.py 2013-02-24 11:51:42 UTC (rev 11107) @@ -427,7 +427,7 @@ 'gl': u'Conversa Wikipedia', 'glk': u'بحث Wikipedia', 'gn': u'Vikipetã myangekõi', - 'got': u'??? Wikipedia ?????????', + 'got': u'𐌸𐌹𐍃 Wikipedia 𐌲𐌰𐍅𐌰𐌿𐍂𐌳𐌾𐌰', 'gu': u'વિકિપીડિયા ચર્ચા', 'gv': u'Resooney Wikipedia', 'ha': u'Wikipedia talk',
1
0
0
0
SVN: [11106] branches/rewrite/pywikibot/families/wikidata_family.py
by valhallasw@svn.wikimedia.org
23 Feb '13
23 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11106
Revision: 11106 Author: valhallasw Date: 2013-02-23 22:23:33 +0000 (Sat, 23 Feb 2013) Log Message: ----------- Use
www.wikidata.org
instead of
wikidata.org
Rewrite-followup to r11105 Patch #3605769 by Legoktm Because of various issues [1], using
wikidata.org
may cause random problems. Using
www.wikidata.org
will fix these. [1]
https://bugzilla.wikimedia.org/show_bug.cgi?id=45005
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikidata_family.py Modified: branches/rewrite/pywikibot/families/wikidata_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikidata_family.py 2013-02-23 22:07:08 UTC (rev 11105) +++ branches/rewrite/pywikibot/families/wikidata_family.py 2013-02-23 22:23:33 UTC (rev 11106) @@ -11,7 +11,7 @@ super(Family, self).__init__() self.name = 'wikidata' self.langs = { - 'wikidata': '
wikidata.org
', + 'wikidata': '
www.wikidata.org
', 'repo': 'wikidata-test-repo.wikimedia.de', 'client': 'wikidata-test-client.wikimedia.de', }
1
0
0
0
SVN: [11105] trunk/pywikipedia/families/wikidata_family.py
by valhallasw@svn.wikimedia.org
23 Feb '13
23 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11105
Revision: 11105 Author: valhallasw Date: 2013-02-23 22:07:08 +0000 (Sat, 23 Feb 2013) Log Message: ----------- Use
www.wikidata.org
instead of
wikidata.org
Patch #3605769 by Legoktm Because of various issues [1], using
wikidata.org
may cause random problems. Using
www.wikidata.org
will fix these. [1]
https://bugzilla.wikimedia.org/show_bug.cgi?id=45005
Modified Paths: -------------- trunk/pywikipedia/families/wikidata_family.py Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2013-02-23 11:40:38 UTC (rev 11104) +++ trunk/pywikipedia/families/wikidata_family.py 2013-02-23 22:07:08 UTC (rev 11105) @@ -11,7 +11,7 @@ super(Family, self).__init__() self.name = 'wikidata' self.langs = { - 'wikidata': '
wikidata.org
', + 'wikidata': '
www.wikidata.org
', 'repo': 'wikidata-test-repo.wikimedia.de', 'client': 'wikidata-test-client.wikimedia.de', }
1
0
0
0
SVN: [11104] trunk/pywikipedia/families
by xqt@svn.wikimedia.org
23 Feb '13
23 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11104
Revision: 11104 Author: xqt Date: 2013-02-23 11:40:38 +0000 (Sat, 23 Feb 2013) Log Message: ----------- update r11100 r11101 from trunk: missing as-wikisource, reopened km-wikibooks Modified Paths: -------------- trunk/pywikipedia/families/wikibooks_family.py trunk/pywikipedia/families/wikisource_family.py Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2013-02-22 16:14:56 UTC (rev 11103) +++ trunk/pywikipedia/families/wikibooks_family.py 2013-02-23 11:40:38 UTC (rev 11104) @@ -16,9 +16,9 @@ 'da', 'th', 'no', 'gl', 'fa', 'ko', 'sr', 'ta', 'ar', 'tl', 'mk', 'ro', 'is', 'tt', 'lt', 'ka', 'az', 'eo', 'uk', 'bg', 'el', 'hy', 'sl', 'sk', 'si', 'li', 'la', 'ang', 'ia', 'cv', 'et', 'ms', 'ur', - 'mr', 'bn', 'hi', 'ml', 'oc', 'kk', 'eu', 'fy', 'ie', 'ne', 'te', - 'sa', 'af', 'tg', 'ky', 'bs', 'pa', 'mg', 'be', 'zh-min-nan', 'cy', - 'ku', 'uz', + 'mr', 'bn', 'hi', 'ml', 'oc', 'km', 'kk', 'eu', 'fy', 'ie', 'ne', + 'te', 'sa', 'af', 'tg', 'ky', 'bs', 'pa', 'mg', 'be', 'zh-min-nan', + 'cy', 'ku', 'uz', ] self.langs = dict([(lang, '%s.wikibooks.org' % lang) @@ -460,7 +460,6 @@ 'gn': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu…
'gu': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu…
'jp': 'ja', - 'km': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kh…
'kn': None, #
https://bugzilla.wikimedia.org/show_bug.cgi?id=20325
'ks': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka…
'lb': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_L%…
Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2013-02-22 16:14:56 UTC (rev 11103) +++ trunk/pywikipedia/families/wikisource_family.py 2013-02-23 11:40:38 UTC (rev 11104) @@ -15,8 +15,8 @@ 'fa', 'hu', 'ar', 'ca', 'cs', 'ko', 'sl', 'ro', 'fi', 'vi', 'te', 'sa', 'el', 'sr', 'hr', 'bn', 'th', 'no', 'hy', 'nl', 'ml', 'la', 'vec', 'tr', 'eo', 'ja', 'br', 'yi', 'mk', 'uk', 'gu', 'ta', 'id', - 'is', 'da', 'be', 'li', 'et', 'mr', 'bg', 'bs', 'sah', 'az', 'gl', - 'lt', 'kn', 'cy', 'sk', 'zh-min-nan', 'fo', + 'is', 'da', 'be', 'li', 'et', 'mr', 'bg', 'bs', 'as', 'sah', 'az', + 'gl', 'lt', 'kn', 'cy', 'sk', 'zh-min-nan', 'fo', ] self.langs = dict([(lang, '%s.wikisource.org' % lang)
1
0
0
0
SVN: [11103] trunk/pywikipedia
by amir@svn.wikimedia.org
22 Feb '13
22 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11103
Revision: 11103 Author: amir Date: 2013-02-22 16:14:56 +0000 (Fri, 22 Feb 2013) Log Message: ----------- creating items in wikidata is possible now. Tested Modified Paths: -------------- trunk/pywikipedia/query.py trunk/pywikipedia/wikipedia.py Modified: trunk/pywikipedia/query.py =================================================================== --- trunk/pywikipedia/query.py 2013-02-21 16:05:59 UTC (rev 11102) +++ trunk/pywikipedia/query.py 2013-02-22 16:14:56 UTC (rev 11103) @@ -106,7 +106,7 @@ postAC = [ 'edit', 'login', 'purge', 'rollback', 'delete', 'undelete', 'protect', 'parse', 'block', 'unblock', 'move', 'emailuser','import', 'userrights', - 'upload', 'patrol', 'wbcreateclaim' + 'upload', 'patrol', 'wbcreateclaim', 'wbeditentity' ] if site.versionnumber() >= 18: postAC.append('watch') Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2013-02-21 16:05:59 UTC (rev 11102) +++ trunk/pywikipedia/wikipedia.py 2013-02-22 16:14:56 UTC (rev 11103) @@ -4072,7 +4072,7 @@ setitem : Setting item(s) on a page setclaimvalue : Set the value of a Wikibase claim createclaim : Create Wikibase claims - + creatitem : Create an item getentity : Getting item(s) of a page getentities : Get the data for multiple Wikibase entities searchentities : Search for entities @@ -4105,10 +4105,10 @@ #for change Persian language label of a page to "OK" items={'type': u'item', 'label': 'fa', 'value': 'OK'}) - #for change english language description of a page to "OK" + #for change English language description of a page to "OK" items={'type': u'description', 'language': 'en', 'value': 'OK'}) - #for change german language sitelink of a page to "OK" + #for change German language sitelink of a page to "OK" items={'type': u'sitelink', 'site': 'de', 'title': 'OK'}) """ retry_attempt = 0 @@ -4209,7 +4209,95 @@ if data['success'] == u"1": return 302, response.msg, data['success'] return response.code, response.msg, data + def createitem(self, summary=None, watchArticle=False, minorEdit=True + , token=None, newToken=False, sysop=False, + captcha=None, botflag=True, maxTries=-1): + """Creating an item + usage: + data.createitem(summary) + """ + retry_attempt = 0 + retry_delay = 1 + dblagged = False + newPage=True + originLang=self._originSite.dbName().split('_')[0] + params = { + 'summary': self._encodeArg(summary, 'summary'), + 'format': 'jsonfm', + 'action': 'wbeditentity' + } + params['data'] = u"{\"labels\":{\""+self._originSite.lang+"\":{\"language\":\""+self._originSite.lang+"\",\"value\":\""+self._originTitle+"\"}}, \"sitelinks\": {\""+originLang+"\": {\"site\": \""+originLang+"\",\"title\": \""+self._originTitle+"\"}}}" + if token: + params['token'] = token + else: + params['token'] = self.site().getToken(sysop = sysop) + if config.maxlag: + params['maxlag'] = str(config.maxlag) + if botflag: + params['bot'] = 1 + if watchArticle: + params['watch'] = 1 + if captcha: + params['captchaid'] = captcha['id'] + params['captchaword'] = captcha['answer'] + while True: + if (maxTries == 0): + raise MaxTriesExceededError() + maxTries -= 1 + # Check whether we are not too quickly after the previous + # putPage, and wait a bit until the interval is acceptable + if not dblagged: + put_throttle() + output(u'Creating page %s via API' % self._originTitle) + params['createonly'] = 1 + try: + response, data = query.GetData(params, self.site(), + sysop=sysop, back_response=True) + if isinstance(data,basestring): + raise KeyError + except httplib.BadStatusLine, line: + raise PageNotSaved('Bad status line: %s' % line.line) + except ServerError: + output(u''.join(traceback.format_exception(*sys.exc_info()))) + retry_attempt += 1 + if retry_attempt > config.maxretries: + raise + output(u'Got a server error when putting %s; will retry in %i minute%s.' + % (self, retry_delay, retry_delay != 1 and "s" or "")) + time.sleep(60 * retry_delay) + retry_delay *= 2 + if retry_delay > 30: + retry_delay = 30 + continue + except ValueError: # API result cannot decode + output(u"Server error encountered; will retry in %i minute%s." + % (retry_delay, retry_delay != 1 and "s" or "")) + time.sleep(60 * retry_delay) + retry_delay *= 2 + if retry_delay > 30: + retry_delay = 30 + continue + # If it has gotten this far then we should reset dblagged + dblagged = False + # Check blocks + self.site().checkBlocks(sysop = sysop) + # A second text area means that an edit conflict has occured. + if response.code == 500: + output(u"Server error encountered; will retry in %i minute%s." + % (retry_delay, retry_delay != 1 and "s" or "")) + time.sleep(60 * retry_delay) + retry_delay *= 2 + if retry_delay > 30: + retry_delay = 30 + continue + if 'error' in data: + errorCode = data['error']['code'] + output(u'Got an unknown error when putting data: %s' %errorCode) + else: + if data['success'] == u"1": + return 302, response.msg, data['success'] + return response.code, response.msg, data def setclaimvalue(self, guid, value, comment=None, token=None, sysop=False, botflag=True): """API module for setting the value of a Wikibase claim.
1
0
0
0
SVN: [11102] trunk/pywikipedia/category_redirect.py
by malafaya@svn.wikimedia.org
21 Feb '13
21 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11102
Revision: 11102 Author: malafaya Date: 2013-02-21 16:05:59 +0000 (Thu, 21 Feb 2013) Log Message: ----------- Message review (wrong sentence) Modified Paths: -------------- trunk/pywikipedia/category_redirect.py Modified: trunk/pywikipedia/category_redirect.py =================================================================== --- trunk/pywikipedia/category_redirect.py 2013-02-21 07:35:04 UTC (rev 11101) +++ trunk/pywikipedia/category_redirect.py 2013-02-21 16:05:59 UTC (rev 11102) @@ -115,7 +115,7 @@ # an update due to changes in a transcluded template article.put(newtext, comment) if newtext == oldtext: - pywikibot.output(u'No changes in made in page %s.' + pywikibot.output(u'No changes made in page %s.' % article.title(asLink=True)) return False return True
1
0
0
0
SVN: [11101] branches/rewrite/pywikibot/families/wikibooks_family.py
by xqt@svn.wikimedia.org
21 Feb '13
21 Feb '13
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11101
Revision: 11101 Author: xqt Date: 2013-02-21 07:35:04 +0000 (Thu, 21 Feb 2013) Log Message: ----------- re-open km.wikibooks, bug #3605499,
https://bugzilla.wikimedia.org/show_bug.cgi?id=19368
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikibooks_family.py Modified: branches/rewrite/pywikibot/families/wikibooks_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikibooks_family.py 2013-02-21 07:28:15 UTC (rev 11100) +++ branches/rewrite/pywikibot/families/wikibooks_family.py 2013-02-21 07:35:04 UTC (rev 11101) @@ -16,9 +16,9 @@ 'da', 'th', 'no', 'gl', 'fa', 'ko', 'sr', 'ta', 'ar', 'tl', 'mk', 'ro', 'is', 'tt', 'lt', 'ka', 'az', 'eo', 'uk', 'bg', 'el', 'hy', 'sl', 'sk', 'si', 'li', 'la', 'ang', 'ia', 'cv', 'et', 'ms', 'ur', - 'mr', 'bn', 'hi', 'ml', 'oc', 'kk', 'eu', 'fy', 'ie', 'ne', 'te', - 'sa', 'af', 'tg', 'ky', 'bs', 'pa', 'mg', 'be', 'zh-min-nan', 'cy', - 'ku', 'uz', + 'mr', 'bn', 'hi', 'ml', 'oc', 'km', 'kk', 'eu', 'fy', 'ie', 'ne', + 'te', 'sa', 'af', 'tg', 'ky', 'bs', 'pa', 'mg', 'be', 'zh-min-nan', + 'cy', 'ku', 'uz', ] self.langs = dict([(lang, '%s.wikibooks.org' % lang) @@ -64,7 +64,6 @@ 'gn': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu…
'gu': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Gu…
'jp': 'ja', - 'km': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kh…
'kn': None, #
https://bugzilla.wikimedia.org/show_bug.cgi?id=20325
'ks': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ka…
'lb': None, #
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_L%…
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
12
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
Results per page:
10
25
50
100
200