Module:UserLinks/config
< Module:UserLinks
Jump to navigation
Jump to search
Revision as of 18:28, 4 April 2014 by blackwiki>Mr. Stradivarius (add error configuration messages)
| 40x40px | 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. |
| 40x40px | This module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this module's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this module. Please discuss any 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