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 -- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
− | local cfg = {} | + | 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 | |
− | -- cfg. | + | -- 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]]. |
− | -- cfg. | + | -- 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 |
− | cfg. | + | -- 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 | + | return cfg |