Jump to content

User:Forgottenman/sandbox

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Revision as of 20:04, 22 December 2010 by Forgottenman (talk | contribs) (more information)

Command window

C:\pywikipedia>archivebot.py User:Forgottenbot/archive
unicode test: triggers problem #3081100
Fetching template transclusions...

C:\pywikipedia>

Transclusion of User:Forgottenbot/archive on MisesWiki:Commons

{{User:Forgottenbot/archive
|algo = old(10d)
|archive = MisesWiki:Commons/Archive/%(year)d/%(monthname)s
|minthreadstoarchive = 1
}}

user-config.py

mylang='en'
family = 'mises';
usernames['mises']['en']=u'Forgottenbot';
console_encoding = 'utf-8';

mises_family.py

# -*- coding: utf-8  -*-
 
import family
 
 # The official Mises Wiki. #Put a short project description here.
 
class Family(family.Family):
 
     def __init__(self):
         family.Family.__init__(self)
         self.name = 'mises' # Set the family name; this should be the same as in the filename.
         self.langs = {
             'en': 'wiki.mises.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'MisesWiki', # Specify the project namespace here.
         }
 
         self.namespaces[5] = {
             '_default': u'MisesWiki talk', # Specify the talk page of the project namespace here. 
         }
 
     def version(self, code):
         return "1.16.0"  # 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.