Module:RfD: Difference between revisions

Content deleted Content added
Noticed transclusions of Template:Whom weren't forwarding the date; work around the lack of gerrit:84985 so such transclusions work right
Jackmcbarn (talk | contribs)
Undid revision 621430924 by Anomie (talk): Change has been merged and deployed
Line 47:
-- We should actually be calling expandTemplate on the grandparent rather than on the parent, but we can't do that yet
-- Since we don't have grandparent access, though, it means the thing we're calling doesn't either, so it doesn't really matter yet
return pframe:expandTemplate{title = target.prefixedText, args = pframe.args}
 
-- Without [[gerrit:84985]], we need to convert args to a simple table for it to actually work
local args = {}
for k, v in pairs( pframe.args ) do
args[k] = v
end
return pframe:expandTemplate{title = target.prefixedText, args = args}
else
return p[''](frame)