Editing Module:Namespace detect/config

From MINR.ORG WIKI

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
--------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------
 
--                    Namespace detect configuration data                    --
 
--                    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.
+
local cfg = {}
  
--------------------------------------------------------------------------------
+
-- 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 content for the main namespace:
+
-- This parameter displays in talk namespaces:
-- cfg.main = 'main'
+
cfg.talk = 'talk'
  
---- This parameter displays in talk namespaces:
+
-- This parameter displays content for "other" namespaces (namespaces for which
-- cfg.talk = 'talk'
+
-- parameters have not been specified, or for when cfg.demospace is set to
 +
-- cfg.other):
 +
cfg.other = 'other'
  
---- This parameter displays content for "other" namespaces (namespaces for which
+
-- This parameter makes talk pages behave as though they are the corresponding
---- parameters have not been specified):
+
-- 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 makes talk pages behave as though they are the corresponding
+
-- This parameter sets a demonstration namespace:
---- 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 demonstration namespace:
+
-- This parameter sets a specific page to compare:
-- cfg.demospace = 'demospace'
+
cfg.page = 'page'
  
---- This parameter sets a specific page to compare:
+
-- The header for the namespace column in the wikitable containing the list of
cfg.demopage = 'page'
+
-- 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.
+
return cfg

Please note that all contributions to MINR.ORG WIKI may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see MINR.ORG WIKI:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)