Module:Lockbox: Difference between revisions

Content deleted Content added
Avoid an unnecessary call to frame:preprocess, code by User:Jackmcbarn
... I told you so! ...
 
(One intermediate revision by one other user not shown)
Line 15:
 
local function make_wikitext_warning(msg)
return string.format('<strong class="warningerror">Warning: %s.</strong>', msg)
end
 
Line 44:
-- This creates an extaneous self-transclusion for all pages using the
-- module, but we treat that as a necessary evil.
--[[ This entire block no longer works following https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Scribunto/+/1074581
do
mw.title.getCurrentTitle():getContent() -- Generate self-transclusion
Line 54 ⟶ 56:
end
end
--]]
 
-- Generate transclusions to the templates, and build the output list.