Module:Documentation: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(use better messages for the sandbox notice when in the module namespace, and only show the diff link when both pages exist) |
(use the module preload in the start box create link if we're in the module namespace) |
||
Line 463:
-- 'purge-link-display' --> 'purge'
-- 'file-docpage-preload' --> 'Template:Documentation/preload-filespace'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local
local title = env.title
local docTitle = env.docTitle
Line 473:
return nil
end
local data = {}
data.title = title
data.docTitle = docTitle
Line 483 ⟶ 485:
local preload = args.preload
if not preload then
if
preload = message('file-docpage-preload')
elseif subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
|