Jump to content

Module:Documentation/config and Module:Documentation/config/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
 
No edit summary
 
Line 104: Line 104:
-- The heading shown in the module namespace.
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
cfg['module-namespace-heading'] = 'Module documentation'

-- cfg['module-autodoc-heading']
-- The heading shown in the module namespace, when a valid LuaDoc exists.
cfg['module-autodoc-heading'] = 'Module autodoc'


-- cfg['file-namespace-heading']
-- cfg['file-namespace-heading']
Line 112: Line 116:
-- The heading shown in other namespaces.
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
cfg['other-namespaces-heading'] = 'Documentation'

-- cfg['no-documentation']
-- The code to display if there is no documentation
cfg['no-documentation'] = '{{No documentation|linkdocsub=yes}}'


-- cfg['view-link-display']
-- cfg['view-link-display']
Line 132: Line 140:
-- The text to display for "create" links.
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
cfg['create-link-display'] = 'create'

-- cfg['override-link-display']
-- The text to display for "override" links on pages with autodoc.
cfg['override-link-display'] = "override"


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 336: Line 348:
-- Preload file for Lua module documentation pages.
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'

-- cfg['module-preload-override']
-- Preload file for Lua module documentation pages with a valid autodoc.
cfg['module-preload-override'] = 'Template:Documentation/preload-module-doc-override'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 398: Line 414:
-- /doc subpage or a /testcases subpage.
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'

cfg['help-template-link'] = '[[Help:Template|help]]'
cfg['help-module-link'] = '[[Wikipedia:Lua|help]]'


--[[
--[[