Module:Namespace detect/config: Difference between revisions

m
9 revisions imported: import wikisource templates
(create separate configuration page for Module:Namespace detect)
 
m (9 revisions imported: import wikisource templates)
 
(17 intermediate revisions by 7 users not shown)
Line 1:
--------------------------------------------------------------------------------
-- Namespace detect configuration data --
-- --
-- This module stores configuration data for Module:Namespace detect. Here --
-- you can localise the module to your wiki's language. --
-- --
-- To activate a configuration item, you need to uncomment it. This means --
-- that you need to remove the text "-- " at the start of the line. --
--------------------------------------------------------------------------------
 
local cfg = {} -- Don't edit this line.
 
--------------------------------------------------------------------------------
-- This parameter displays content for the main namespace:
-- Parameter names --
cfg.main = 'main'
-- These configuration items specify custom parameter names. Values added --
-- here will work in addition to the default English parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- cfg.foo = 'parameter name' --
-- --
-- To add multiple names, you can use this format: --
-- --
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'} --
--------------------------------------------------------------------------------
 
---- This parameter displays incontent talkfor namespacesthe main namespace:
-- cfg.talkmain = 'talkmain'
 
---- This parameter displays contentin for "other"talk namespaces (namespaces for which:
-- cfg.maintalk = 'maintalk'
-- parameters have not been specified, or for when cfg.demospace is set to
-- cfg.other):
cfg.other = 'other'
 
---- This parameter makesdisplays talkcontent pagesfor behave"other" asnamespaces though(namespaces theyfor are the correspondingwhich
---- parameters have not been specified, or for when cfg.demospace is set to):
-- subject namespace. Note that this parameter is used with [[Module:Yesno]].
-- cfg.other): = 'other'
-- Edit that module to change the default values of "yes", "no", etc.
cfg.subjectns = 'subjectns'
 
---- This parameter setsmakes atalk demonstrationpages namespace:behave as though they are the corresponding
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
cfg.demospace = 'demospace'
---- Edit that module to change the default values of "yes", "no", etc.
-- cfg.subjectns = 'subjectns'
 
---- This parameter sets a specificdemonstration page to comparenamespace:
-- cfg.pagedemospace = 'pagedemospace'
 
---- This parameter sets a specific page to compare:
-- The header for the namespace column in the wikitable containing the list of
cfg.otherdemopage = 'otherpage'
-- possible subject-space parameters.
cfg.wikitableNamespaceHeader = 'Namespace'
 
--------------------------------------------------------------------------------
-- The header for the wikitable containing the list of possible subject-space
-- Table configuration --
-- parameters.
-- These configuration items allow customisation of the "table" function, --
cfg.wikitableAliasesHeader = 'Aliases'
-- used to generate a table of possible parameters in the module --
-- documentation. --
--------------------------------------------------------------------------------
 
---- 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'
 
--------------------------------------------------------------------------------
-- End of configuration data --
--------------------------------------------------------------------------------
 
return cfg -- Don't edit this line.