Module:Article history/config: Difference between revisions

Content deleted Content added
add error message boilerplate
add error message for action objects with no code passed
Line 1,211:
-- $2 - a link to a help page and section for the error
['error-message-help'] = 'Error: $1 ([[$2|help]]).',
['error-message-nohelp'] = 'Error: $1.',
 
-- Error for action objects that aren't passed a code.
-- $1 - the parameter name for the code
['action-error-no-code'] = "no action code found in the '$1' parameter; " ..
"please add a code or remove other parameters starting with '$1'",
 
-- A help link for action-error-no-code
['action-error-no-code-help'] = 'Template:Article history#Errors'
 
}