Module:Documentation: Difference between revisions

m
fix comment for the message function
(handle nil values of addTrackingCategory properly, and don't categorise testcases pages in the module namespace)
m (fix comment for the message function)
Line 28:
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message cfg.fooMessage"foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
Anonymous user