Module:UserLinks/config
Appearance
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
![]() | This Lua module is used in system messages, and on approximately 1,030,000 pages, or roughly 2% 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. |
Configuration used by Module:UserLinks
local cfg = {}
-- Display values
cfg['display-talk'] = 'talk'
cfg['display-contributions'] = 'contribs'
cfg['display-count'] = 'count'
cfg['display-moves'] = 'page moves'
cfg['display-logs'] = 'logs'
cfg['display-blocklog'] = 'block log'
cfg['display-blocks'] = 'blocks'
cfg['display-blockuser'] = 'block user'
cfg['display-centralauth'] = 'central auth'
cfg['display-deletedcontributions'] = 'deleted contribs'
cfg['display-email'] = 'email'
cfg['display-editsummaries'] = 'edit summaries'
cfg['display-deletions'] = 'deletions'
cfg['display-listuser'] = 'list user'
cfg['display-sul'] = 'global contribs'
cfg['display-targetlogs'] = 'target logs'
cfg['display-abuselog'] = 'edit filter log'
cfg['display-protections'] = 'protections'
cfg['display-rights'] = 'rights'
cfg['display-renames'] = 'renames'
cfg['display-rfa'] = 'RfA'
cfg['display-api'] = 'api'
cfg['display-uploads'] = 'uploads'
-- Page names
cfg['page-rfa'] = 'Wikipedia:Requests for adminship'
-- Error messages
cfg['error-nousername'] = 'no username detected'
cfg['error-nousername-section'] = 'No username detected'
cfg['error-invalidproject'] = '"$1" is not a valid project or language code'
cfg['error-invalidproject-section'] = 'Not a valid project or language code'
cfg['error-invalidlanguage'] = '"$1" is not a valid language code'
cfg['error-invalidlanguage-section'] = 'Not a valid language code'
cfg['error-nolinkcode'] = 'no link code specified'
cfg['error-nolinkcode-section'] = 'No link code specified'
cfg['error-nosnippet'] = 'no snippet exists for the key "$1"'
cfg['error-nosnippet-section'] = 'No snippet exists'
cfg['error-malformedlinkcode'] = 'malformed link code detected'
cfg['error-malformedlinkcode-section'] = 'Malformed link code detected'
cfg['error-invalidlinkcode'] = '"$1" is not a valid link code'
cfg['error-invalidlinkcode-section'] = 'Not a valid link code'
-- Error configuration
cfg['error-config-message-help'] = '[[Template:User-multi|User-multi]] error:'
.. ' $1 ([[Template:User-multi#$2|help]]).'
cfg['error-config-message-nohelp'] = '[[Template:User-multi|User-multi]] error: $1.'
cfg['error-config-category'] = 'UserLinks transclusions with errors'
-- Snippet defaults
cfg['snippet-project-default'] = 'w'
cfg['snippet-projectlong-default'] = 'wikipedia'
cfg['snippet-lang-default'] = 'en'
-- Link table headers
cfg['linktable-codeheader'] = 'Code'
cfg['linktable-previewheader'] = 'Preview'
return cfg