mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 16:25:00 +00:00
Merge "Fix frame:extensionTag when not passed args"
This commit is contained in:
commit
32cc0a2979
|
@ -467,7 +467,7 @@ local function newFrame( frameId, ... )
|
|||
end
|
||||
|
||||
if args == nil then
|
||||
args = {}
|
||||
args = { content }
|
||||
elseif type( args ) == 'string' or type( args ) == 'number' then
|
||||
args = { content, args }
|
||||
elseif type( args ) == 'table' then
|
||||
|
|
Loading…
Reference in a new issue