 # -*- coding: utf-8  -*-
 
import family
 
# Test testbox2 
 
class Family(family.Family):
 
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'testbox2' # Set the family name; this should be the same as in the filename.
         self.langs = {
             'en': 'testbox2.gnist.org', # Put the hostname here.
         }
 
         # Translation used on all wikis for the different namespaces.
         # Most namespaces are inherited from family.Family.
         # Check the family.py file (in main directory) to see the standard
         # namespace translations for each known language.
         # You only need to enter translations that differ from the default.
         self.namespaces[4] = {
             '_default': u'testbox2', # Specify the project namespace here.
         }
 
         self.namespaces[5] = {
             '_default': u'Testbox2 talk', # Specify the talk page of the project namespace here. 
         }
 
     def version(self, code):
         return "1.15.1"  # The MediaWiki version used. Not very important in most cases.
 
     def scriptpath(self, code):
         return '/mediawiki' # The relative path of index.php, api.php : look at your wiki address. 
# This line may need to be changed to /wiki or /w, 
# depending on the folder where your mediawiki program is located.
# Note: Do not _include_ index.php, etc.

     def hostname(self,code):
         return 'testbox2.gnist.org' # The same for all languages

