r11772 pywikipedia - Code Review archive

Repository:pywikipedia
Revision:r11771‎ | r11772 | r11773 >
Date:11:31, 20 July 2013
Author:xqt
Status:new
Tags:
Comment:
update namespace aliases
Modified paths:
  • /trunk/pywikipedia/families/test_family.py (modified) (history)
  • /trunk/pywikipedia/families/wikidata_family.py (modified) (history)

Diff [purge]

Index: trunk/pywikipedia/families/test_family.py
@@ -36,6 +36,12 @@
3737 self.namespaces[93] = {
3838 '_default': u'Summary talk',
3939 }
 40+ self.namespaces[460] = {
 41+ '_default': u'Campaign',
 42+ }
 43+ self.namespaces[461] = {
 44+ '_default': u'Campaign talk',
 45+ }
4046 self.namespaces[710] = {
4147 '_default': u'TimedText',
4248 }
Index: trunk/pywikipedia/families/wikidata_family.py
@@ -36,12 +36,12 @@
3737 # You only need to enter translations that differ from _default.
3838 self.namespaces[4] = {
3939 '_default': [u'Wikidata', u'WD', 'Project'],
40 - 'client': u'Testwiki',
 40+ 'client': u'Test Wikipedia',
4141 'repo': u'Testwiki',
4242 }
4343 self.namespaces[5] = {
4444 '_default': [u'Wikidata talk', u'WT', 'Project talk'],
45 - 'client': u'Testwiki talk',
 45+ 'client': u'Test Wikipedia talk',
4646 'repo': u'Testwiki talk',
4747 }
4848 self.namespaces[102] = {