Changes

Jump to: navigation, search

Module:Documentation

No change in size, 19:50, 22 January 2014
change docpageRoot to docpageBase, as usually base and root mean different things with respect to titles
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageRoot docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
docpage = docname
else
docpage = env.docpageRoot docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageRoot docpageBase .. '/' .. message('sandbox-subpage'))
end
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageRoot docpageBase .. '/' .. message('testcases-subpage'))
end
end
function envFuncs.docpageRootdocpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
Anonymous user

Navigation menu