Module:Documentation/config: Difference between revisions
add cfg.titleArgError
m>Mr. Stradivarius (add cfg.titleArg) |
m>Mr. Stradivarius (add cfg.titleArgError) |
||
Line 17: | Line 17: | ||
-- An argument to specify what page to make links for. For testing purposes. | -- An argument to specify what page to make links for. For testing purposes. | ||
cfg.titleArg = 'page' | cfg.titleArg = 'page' | ||
-- cfg.titleArgError | |||
-- The error message to display if the value of the cfg.titleArg argument does not result in a | |||
-- valid title. | |||
cfg.titleArgError = '$1 is not a valid title' | |||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |