Module:Userlinks/configuration: Difference between revisions
From Test Wiki
Content deleted Content added
m Saint moved page Module:Userlinks/config to Module:Userlinks/configuration without leaving a redirect |
m Protected "Module:Userlinks/configuration": High-risk template or modules ([Edit=Allow only bureaucrats] (indefinite) [Move=Allow only bureaucrats] (indefinite) [Delete=Allow only bureaucrats] (indefinite) [Protect=Allow only bureaucrats] (indefinite)) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- |
-- Userlinks configuration -- |
||
-- This module provides configuration and localisation messages for -- |
-- This module provides configuration and localisation messages for -- |
||
-- [[Module: |
-- [[Module:Userlinks]]. See the comments in the code below for explanations -- |
||
-- of what each message does. -- |
-- of what each message does. -- |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 89: | Line 89: | ||
-- List of the user's local file uploads. |
-- List of the user's local file uploads. |
||
cfg['display-uploads'] = 'uploads' |
cfg['display-uploads'] = 'uploads' |
||
-- List of the user's local file uploads. |
|||
cfg['display-nuke'] = 'nuke contribs' |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 97: | Line 101: | ||
-- The base page for a request for adminship link. This assumes that the link |
-- The base page for a request for adminship link. This assumes that the link |
||
-- is of the format [[Base page/username]]. If your wiki uses a different |
-- is of the format [[Base page/username]]. If your wiki uses a different |
||
-- format, consider adding a new link at [[Module: |
-- format, consider adding a new link at [[Module:Userlinks/extra]], or you can |
||
-- leave a message at [[w:en:Template talk:User-multi]] to ask the module |
-- leave a message at [[w:en:Template talk:User-multi]] to ask the module |
||
-- developers how best to deal with it. |
-- developers how best to deal with it. |
||
Line 147: | Line 151: | ||
-- The snippets table was accessed, but there was no value for the key it was |
-- The snippets table was accessed, but there was no value for the key it was |
||
-- accessed with. This is not usually visible by end users; it is probably a |
-- accessed with. This is not usually visible by end users; it is probably a |
||
-- mistake in one of the link functions in [[Module: |
-- mistake in one of the link functions in [[Module:Userlinks/extra]]. $1 is the |
||
-- key that was passed to the module. |
-- key that was passed to the module. |
||
cfg['error-nosnippet'] = 'no snippet exists for the key "$1"' |
cfg['error-nosnippet'] = 'no snippet exists for the key "$1"' |
||
Line 169: | Line 173: | ||
-- The name of the error category. Pages are put in this category if any errors |
-- The name of the error category. Pages are put in this category if any errors |
||
-- are encountered. |
-- are encountered. |
||
cfg['error-config-category'] = ' |
cfg['error-config-category'] = 'Userlinks transclusions with errors' |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 185: | Line 189: | ||
-- The MediaWiki language code for the wiki. |
-- The MediaWiki language code for the wiki. |
||
cfg['snippet-lang-default'] = 'en' |
cfg['snippet-lang-default'] = 'en' |
||
-------------------------------------------------------------------------------- |
|||
-- Link table headers -- |
|||
-- The headers used in the table of links used on documentation pages. -- |
|||
-------------------------------------------------------------------------------- |
|||
-- The link code. |
|||
cfg['linktable-codeheader'] = 'Code' |
|||
-- The link preview. |
|||
cfg['linktable-previewheader'] = 'Preview' |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |