Module:Documentation/config: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(convert messages to use hyphens instead of camelCase, in line with MediaWiki) |
(remove unused messages) |
||
Line 9: | Line 9: | ||
local cfg = {} -- Do not edit this line. |
local cfg = {} -- Do not edit this line. |
||
---------------------------------------------------------------------------------------------------- |
|||
-- Environment configuration |
|||
---------------------------------------------------------------------------------------------------- |
|||
-- cfg['error-prefix'] |
|||
-- The prefix before any error messages found by the script. |
|||
cfg['error-prefix'] = '[[Module:Documentation]] error:' |
|||
-- cfg['error-category'] |
|||
-- The category pages are placed into if any errors are found. |
|||
cfg['error-category'] = 'Documentation template invocations with errors' |
|||
---------------------------------------------------------------------------------------------------- |
|||
-- Environment configuration |
|||
---------------------------------------------------------------------------------------------------- |
|||
-- cfg['title-arg-error'] |
|||
-- The error message to display if the "page" argument does not result in a |
|||
-- valid title. |
|||
cfg['title-arg-error'] = '$1 is not a valid title' |
|||
---------------------------------------------------------------------------------------------------- |
---------------------------------------------------------------------------------------------------- |