Content deleted Content added
remove all the validStatuses tables, as they aren't based on anything in the template code and they aren't being used by the main module |
change the messages used with addWarning to "warning" instead of "error" |
||
Line 1,989:
['warning-help'] = 'Warning: $1 ([[$2|help]]).',
['warning-nohelp'] = 'Warning: $1.',
-- Warning for invocations that specify a current status without specifying any▼
-- actions.▼
['articlehistory-warning-status-no-actions'] = "a current status was supplied " ..▼
'without any actions',▼
-- A help link for articlehistory-error-status-no-actions▼
['articlehistory-warning-status-no-actions-help'] = 'Template:Article history#No actions',▼
-- Error for row objects that should output notice bar icons but for which no
Line 2,005 ⟶ 1,997:
-- A help link for row-error-missing-icon
['row-error-missing-icon-help'] = 'Template:Article history#Missing icon',
-- Error for invalid current status codes.▼
-- $1 - the code input by the user▼
['articlehistory-error-invalid-status'] = "'$1' is not a valid status code",▼
-- A help link for articlehistory-error-invalid-status▼
['articlehistory-error-invalid-status-help'] = 'Template:Article history#Invalid status',▼
-- Error for action objects that aren't passed a code.
Line 2,049 ⟶ 2,034:
['action-error-invalid-result-help'] = 'Template:Article history#Action results',
--
-- $1 - the date input by the user
-- $2 - the date parameter name
['action-
-- A help link for action-
['action-
-- Error for action objects with no dates.
Line 2,061 ⟶ 2,046:
-- $2 - the date parameter name
-- $3 - the action parameter name
['action-
"please add a date to parameter '$2' or remove the other parameters " ..
"beginning with '$3'",
-- A help link for action-
['action-
-- The text to display in place of the action date if it is missing.
Line 2,079 ⟶ 2,064:
-- A help link for action-error-invalid-oldid
['action-error-invalid-oldid-help'] = 'Template:Article history#Invalid oldid',
▲-- Error for invalid current status codes.
▲-- $1 - the code input by the user
▲-- Warning for invocations that specify a current status without specifying any
▲-- actions.
▲['articlehistory-warning-status-no-actions'] = "a current status was supplied " ..
▲ 'without any actions',
▲['articlehistory-warning-status-no-actions-help'] = 'Template:Article history#No actions',
-- The text to display the current status at the bottom of the collapsible
|