Module:Namespace detect/config

    From Nonbinary Wiki
    < Module:Namespace detect
    Revision as of 13:56, 20 March 2014 by m>Mr. Stradivarius (create separate configuration page for Module:Namespace detect)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Documentation for this module may be created at Module:Namespace detect/config/doc

    --------------------------------------------------------------------------------
    --                    Namespace detect configuration data                     --
    --------------------------------------------------------------------------------
    
    local cfg = {}
    
    -- This parameter displays content for the main namespace:
    cfg.main = 'main'
    
    -- This parameter displays in talk namespaces:
    cfg.talk = 'talk'
    
    -- This parameter displays content for "other" namespaces (namespaces for which
    -- parameters have not been specified, or for when cfg.demospace is set to
    -- cfg.other):
    cfg.other = 'other'
    
    -- This parameter makes talk pages behave as though they are the corresponding
    -- subject namespace. Note that this parameter is used with [[Module:Yesno]].
    -- Edit that module to change the default values of "yes", "no", etc.
    cfg.subjectns = 'subjectns'
    
    -- This parameter sets a demonstration namespace:
    cfg.demospace = 'demospace'
    
    -- This parameter sets a specific page to compare:
    cfg.page = 'page'
    
    -- The header for the namespace column in the wikitable containing the list of
    -- possible subject-space parameters.
    cfg.wikitableNamespaceHeader = 'Namespace'
    
    -- The header for the wikitable containing the list of possible subject-space
    -- parameters.
    cfg.wikitableAliasesHeader = 'Aliases'
    
    return cfg