Anonymous user
Module:Documentation: Difference between revisions
remove REVISIONID - see Special:PermaLink/725652098#Preview-only template warnings using REVISIONID magic word
(fix for the module mirror link. Previously, it loaded Template:Documentation/mirror, which Lua complained Script error: Lua error at line 1: unexpected symbol near '{'. also rm redundant testcasesTitle test (see talk page for further details)) |
(remove REVISIONID - see Special:PermaLink/725652098#Preview-only template warnings using REVISIONID magic word) |
||
Line 355:
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype
if subjectSpace == 10 then
Line 367 ⟶ 365:
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})▼
else▼
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
▲ else
▲ text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
|