Module:RfD: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
Undid revision 621430924 by Anomie (talk): Change has been merged and deployed
Jackmcbarn (talk | contribs)
Undid revision 623259423 by Jackmcbarn (talk): never mind, something funny happened with the new package
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 = pframe.args}
else
return p[''](frame)