Jump to content
Wikipedia The Free Encyclopedia

Module:Namespace detect/config

From Wikipedia, the free encyclopedia
Module documentation[view] [edit] [history] [purge]
This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing.
Page protected This module is currently protected from editing.
See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected.
[画像:Warning] This Lua module is used in system messages, and on approximately 5,100,000 pages, or roughly 8% of all pages.
Changes to it can cause immediate changes to the Wikipedia user interface.
To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them.

This module provides configuration data for Module:Namespace detect. To change the data, please follow the instructions in the module comments.

The above documentation is transcluded from Module:Namespace detect/config/doc. (edit | history)
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Subpages of this module.

 --------------------------------------------------------------------------------
 -- 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. --
 --------------------------------------------------------------------------------

 localcfg={}-- Don't edit this line.

 --------------------------------------------------------------------------------
 -- Parameter names --
 -- 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:
 -- 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):
 -- 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.demopage='page'

 --------------------------------------------------------------------------------
 -- Table configuration --
 -- These configuration items allow customisation of the "table" function, --
 -- 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 --
 --------------------------------------------------------------------------------

 returncfg-- Don't edit this line.

AltStyle によって変換されたページ (->オリジナル) /