Module:Lockbox/sandbox: Difference between revisions

Content deleted Content added
we need to trim the items for mw.title.new
m use single quotes for strings consistently
Line 52:
mw.title.getCurrentTitle():getContent() -- Generate self-transclusion
local parent_title = frame:getParent():getTitle()
if frame:preprocess("'{{CASCADINGSOURCES:"' .. parent_title .. "'}}"') == ""'' then
output[#output + 1] = make_wikitext_warning(string.format(
'the page "%s" is not cascade-protected',
Line 95:
 
if frame.args.silent then
return ""''
else
return table.concat(output, '\n')