Jump to content

Module:TNT/config: Difference between revisions

From wikiNonStop
Use better configuration names and document options
 
m 1 revision imported: Initial Setup
 
(No difference)

Latest revision as of 11:48, 6 April 2026

Module documentation

Optional configuration module for Module:TNT.

local p = {};

-- The tracking category name for global TemplateData pages located on Commons
-- under "Data:Templatedata/" instead of "Data:TemplateData/",
-- defaults to `"Templates using legacy global TemplateData table name"`
-- when not set; set to `false` to disable all categorisation
p.legacyTemplateDataCategoryName = nil;

-- Whether to add the language subtag to the template name using {{#translation:}},
-- defaults to `false`
p.translatableCategoryLink = true;

return p;