text: # -*- coding: utf-8  -*-
  """Family module for Wikimedia Commons."""
  from __future__ import unicode_literals
  
  __version__ = '$Id: d2edb13a0d71e2ef69316ba508191bd071da68af $'
  
  from pywikibot import family
  
  
  # The Wikimedia Commons family
  class Family(family.WikimediaOrgFamily):
  
      """Family class for Wikimedia Commons."""
  
      name = 'commons'
  
      def __init__(self):
          """Constructor."""
          super(Family, self).__init__()
  
          self.interwiki_forward = 'wikipedia'
  
          self.category_redirect_templates = {
              'commons': (
                  u'Category redirect',
                  u'Categoryredirect',
                  u'Catredirect',
                  u'Cat redirect',
                  u'Catredir',
                  u'Cat-red',
                  u'See cat',
                  u'Seecat',
                  u'See category',
                  u'Redirect category',
                  u'Redirect cat',
                  u'Redir cat',
                  u'Synonym taxon category redirect',
                  u'Invalid taxon category redirect',
                  u'Monotypic taxon category redirect',
              ),
          }
  
          self.disambcatname = {
              'commons':  u'Disambiguation'
          }
  
          # Subpages for documentation.
          self.doc_subpages = {
              '_default': ((u'/doc', ), ['commons']),
          }
  
      def shared_data_repository(self, code, transcluded=False):
          """Return the shared data repository for this site."""
          return ('wikidata', 'wikidata')
  