Package pywikipedia :: Module family :: Class Family
[show private | hide private]
[frames | no frames]

Class Family


Method Summary
  __init__(self)
  __cmp__(self, otherfamily)
  allmessages_address(self, code)
  allpages_address(self, code, start, namespace)
  broken_redirects_address(self, code, default_limit)
  category_namespace(self, code, fallback)
  category_namespaces(self, code)
  code2encoding(self, code)
Return the encoding for a specific language wikipedia
  code2encodings(self, code)
Return a list of historical encodings for a specific language wikipedia
  delete_address(self, code, name)
  disambig(self, code, fallback)
  double_redirects_address(self, code, default_limit)
  edit_address(self, code, name)
  export_address(self, code)
  get_address(self, code, name)
  hostname(self, code)
  image_namespace(self, code, fallback)
  image_namespace_url(self, code, fallback)
  login_address(self, code)
  maintenance_address(self, code, maintenance_page, default_limit)
  mediawiki_namespace(self, code, fallback)
  move_address(self, code)
  namespace(self, code, namespace_number, fallback)
  newpages_address(self, code, limit)
  pagename2codes(self, code)
  pagenamecodes(self, code)
  path(self, code)
  purge_address(self, code, name)
  put_address(self, code, name)
  references_address(self, code, name)
  special_namespace(self, code, fallback)
  special_namespace_url(self, code, fallback)
  template_namespace(self, code, fallback)
  upload_address(self, code)
  version(self, code)
  version_history_address(self, code, name)
  watchlist_address(self, code)
  _addlang(self, code, location, namespaces)
Add a new language to the langs and namespaces of the family.

Class Variable Summary
dict pagename = {'ru': [u'\u041d\u0410\u0417\u0412\u0410\u041...
dict pagenamee = {'ru': [u'\u041d\u0410\u0417\u0412\u0410\u04...
dict redirect = {'ru': [u'\u043f\u0435\u0440\u0435\u043d\u043...

Method Details

code2encoding(self, code)

Return the encoding for a specific language wikipedia

code2encodings(self, code)

Return a list of historical encodings for a specific language wikipedia

_addlang(self, code, location, namespaces={})

Add a new language to the langs and namespaces of the family. This is supposed to be called in the constructor of the family.

Class Variable Details

pagename

Type:
dict
Value:
{'bg': [u'\u0421\u0422\u0420\u0410\u041d\u0418\u0426\u0410'],
 'nn': ['SIDENAMN', 'SIDENAVN'],
 'ru': [u'\u041d\u0410\u0417\u0412\u0410\u041d\u0418\u0415\u0421\u0422\
\u0420\u0410\u041d\u0418\u0426\u042b'],
 'tt': [u'B\u0130T\u0130SEME']}                                        

pagenamee

Type:
dict
Value:
{'nn': ['SIDENAMNE', 'SIDENAVNE'],
 'ru': [u'\u041d\u0410\u0417\u0412\u0410\u041d\u0418\u0415\u0421\u0422\
\u0420\u0410\u041d\u0418\u0426\u042b2']}                               

redirect

Type:
dict
Value:
{'bg': [u'\u0432\u0438\u0436'],
 'cs': [u'p\u0159esm\u011bruj'],
 'cy': [u'ail-cyfeirio'],
 'et': [u'suuna'],
 'eu': [u'bidali'],
 'ga': [u'athsheoladh'],
 'is': [u'tilv\xedsun'],
 'nn': [u'omdiriger'],
...                                                                    

Generated by Epydoc 2.1 on Sun Jul 03 17:07:36 2005 http://epydoc.sf.net