Module:UserLinks/config: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
begin adding comments
(add error configuration messages)
(begin adding comments)
Line 1:
--------------------------------------------------------------------------------
local cfg = {}
-- UserLinks configuration --
-- This module provides configuration and localisation messages for --
-- [[Module:UserLinks]]. See the comments in the code below for explanations --
-- of what each message does. --
--------------------------------------------------------------------------------
 
local cfg = {} -- Don't edit this line.
-- Display values
 
--------------------------------------------------------------------------------
-- Display values --
-- These messages are the display values for the user links. These are the --
-- most visible messages in the module. They should be short, but --
-- descriptive. Spaces are automatically escaped with  , so there is no --
-- need to add any &nsbp; values here. --
--------------------------------------------------------------------------------
 
-- The user talk page.
cfg['display-talk'] = 'talk'
 
-- The user's contributions.
cfg['display-contributions'] = 'contribs'
 
-- The user's edit count, using the edit count tool on WMF Labs.
cfg['display-count'] = 'count'
 
-- Log of the user's page moves.
cfg['display-moves'] = 'page moves'
 
-- All the user's logged actions.
cfg['display-logs'] = 'logs'
 
-- The user's block log.
cfg['display-blocklog'] = 'block log'
 
-- Blocks that the user has performed.
cfg['display-blocks'] = 'blocks'
 
-- Link to the interface where the user can be blocked.
cfg['display-blockuser'] = 'block user'
 
-- CentralAuth, the global account manager for the user.
cfg['display-centralauth'] = 'central auth'
 
-- The user's deleted contributions.
cfg['display-deletedcontributions'] = 'deleted contribs'
 
-- Likn to email the user.
cfg['display-email'] = 'email'
 
cfg['display-editsummaries'] = 'edit summaries'
-- Analysis of the user's edit summaries, using the tool on WMF Labs.
cfg['display-editsummaries'] = 'edit  summaries'
 
-- Deletions that the user has performed.
cfg['display-deletions'] = 'deletions'
 
-- The user's entry on [[Special:ListUsers]].
cfg['display-listuser'] = 'list user'
 
-- A display of the user's global contributions, using the sulutil: interwiki
-- prefix.
cfg['display-sul'] = 'global contribs'
 
-- All logs of actions performed on the user or their user page.
cfg['display-targetlogs'] = 'target logs'
 
-- Log of times the user has triggered the AbuseFilter (also known as the
-- edit filter).
cfg['display-abuselog'] = 'edit filter log'
 
-- Page protections that the user has performed.
cfg['display-protections'] = 'protections'
 
-- Log of rights changes that the user has performed.
cfg['display-rights'] = 'rights'
 
-- Log of username changes that the user has performed.
cfg['display-renames'] = 'renames'
 
-- Link to a list of the user's requests for adminship.
cfg['display-rfa'] = 'RfA'
 
-- Data about the user from the MediaWiki Web API.
cfg['display-api'] = 'api'
 
-- List of the user's local file uploads.
cfg['display-uploads'] = 'uploads'
 
--------------------------------------------------------------------------------
-- Page names
-- Page names --
--------------------------------------------------------------------------------
 
cfg['page-rfa'] = 'Wikipedia:Requests for adminship'
 
--------------------------------------------------------------------------------
-- Error messages
-- Error messages --
--------------------------------------------------------------------------------
 
cfg['error-nousername'] = 'no username detected'
cfg['error-nousername-section'] = 'No username detected'
Line 45 ⟶ 112:
cfg['error-invalidlinkcode-section'] = 'Not a valid link code'
 
--------------------------------------------------------------------------------
-- Error configuration
-- Error configuration --
--------------------------------------------------------------------------------
 
cfg['error-config-message-help'] = '[[Template:User-multi|User-multi]] error:'
.. ' $1 ([[Template:User-multi#$2|help]]).'
Line 51 ⟶ 121:
cfg['error-config-category'] = 'UserLinks transclusions with errors'
 
--------------------------------------------------------------------------------
-- Snippet defaults
-- Snippet defaults --
--------------------------------------------------------------------------------
 
cfg['snippet-project-default'] = 'w'
cfg['snippet-projectlong-default'] = 'wikipedia'
cfg['snippet-lang-default'] = 'en'
 
--------------------------------------------------------------------------------
-- Link table headers
-- Link table headers --
--------------------------------------------------------------------------------
 
cfg['linktable-codeheader'] = 'Code'
cfg['linktable-previewheader'] = 'Preview'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu