Module:UserLinks/config
Appearance
| 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. |
| 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. |
| This Lua module is used in system messages, and on approximately 1,070,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