Editing Module:Documentation/config
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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' | |||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |