Module:Documentation: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Andy M. Wang rm alt text on icon, since the adjacent text, "Template documentation" or "Module documentation", is sufficient alternative text (per edit request) |
Cocopuff2018 (talk | contribs) m 1 revision imported: Requested By User |
||
(20 intermediate revisions by 12 users not shown) | |||
Line 376:
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
Line 445:
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
Line 483:
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
Line 870 ⟶ 873:
local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
|