Module:Cite tweet: Difference between revisions

support |quote
m (1 revision imported)
imported>Nardog
(support |quote)
 
Line 29: Line 29:
['archive-url'] = args['archive-url'] or args.archiveurl,
['archive-url'] = args['archive-url'] or args.archiveurl,
['url-status'] = args['url-status'] or args['dead-url'] or args.deadurl,
['url-status'] = args['url-status'] or args['dead-url'] or args.deadurl,
quote = args.quote,
ref = args.ref,
ref = args.ref,
df = args.df
df = args.df
Line 42: Line 43:
else
else
cite_args.author = '@' .. (args.user or '')
cite_args.author = '@' .. (args.user or '')
end
if cite_args.author:find ('[Tt]witter') then
cite_args.author = '((' .. cite_args.author .. '))'
end
end
if _if(tonumber(args.number)) then
if _if(tonumber(args.number)) then
Anonymous user