Module:UserLinks/config

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'

-- Snippet defaults cfg['snippet-projectlong-default'] = 'wikipedia' cfg['snippet-lang-default'] = 'en'

-- Link table headers cfg['linktable-codeheader'] = 'Code' cfg['linktable-previewheader'] = 'Preview'

return cfg