Content added Content deleted
(fix env.templateTitle value when title is in a talk namespace) |
(change docpageRoot to docpageBase, as usually base and root mean different things with respect to titles) |
||
Line 172:
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
Line 239:
docpage = docname
else
docpage = env.
end
return mw.title.new(docpage)
Line 250:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.
end
Line 259:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.
end
Line 288:
end
function envFuncs.
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
|