Module:Lua banner/config: Difference between revisions
From Test Wiki
Content deleted Content added
m>Veritas Sapientiae m 1 revision imported from commons:Module:Lua_banner/config |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
| Line 20: | Line 20: | ||
-- added. If false, such calls are invalid, an error message appears, and |
-- added. If false, such calls are invalid, an error message appears, and |
||
-- cfg['error_category'] is added. |
-- cfg['error_category'] is added. |
||
cfg['allow_wishes'] = |
cfg['allow_wishes'] = true |
||
-- Default category: this category is added if the module call contains errors |
-- Default category: this category is added if the module call contains errors |
||
| Line 30: | Line 30: | ||
-- allowed. (Not used if wishes are not allowed.) A category name without |
-- allowed. (Not used if wishes are not allowed.) A category name without |
||
-- namespace, or nil to disable categorization. |
-- namespace, or nil to disable categorization. |
||
cfg['wish_category'] = |
cfg['wish_category'] = 'Lua-candidates' |
||
-- Default category: this category is added if none of the below module_categories |
-- Default category: this category is added if none of the below module_categories |
||
| Line 44: | Line 44: | ||
-- table (i.e. no module-based categorization) will suffice on smaller wikis. |
-- table (i.e. no module-based categorization) will suffice on smaller wikis. |
||
cfg['module_categories'] = { |
cfg['module_categories'] = { |
||
[' |
['String'] = 'Lua String-based templates', |
||
[' |
['Iteration'] = 'Lua-based iteration templates', |
||
} |
} |
||