Anonymous user
Module:Documentation: Difference between revisions
From Video Credit Archive
use the module preload in the start box create link if we're in the module namespace
wikpedia>Mr. Stradivarius (use better messages for the sandbox notice when in the module namespace, and only show the diff link when both pages exist) |
wikpedia>Mr. Stradivarius (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')
|