Module:UserLinks/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Fix socks link
Line 344:
end
function linkFunctions.socks(snippets)
local sspLink = makeWikilinkIfExists(
4,
"Suspected sock puppets investigations/" .. snippets.username,
"ssp"
)
local confirmed = mw.title.newmakeWikilinkIfExists(
14,
'Wikipedia sockpuppets of ' .. snippets.username, 14)
'confirmed socks'
local suspected = mw.title.new('Suspected Wikipedia sockpuppets of ' .. snippets.username, 14)
)
if confirmed and confirmed.exists or suspected and suspected.exists then
local sup,suspected sub= makeWikilinkIfExists(
14,
if confirmed and confirmed.exists then
local suspected = mw.title.new( 'Suspected Wikipedia sockpuppets of ' .. snippets.username, 14)
sup = ' ' .. makeWikilink(
'suspectedconfirmed socks'
'',
14,)
if confirmed.prefixedText, or suspected then
'confirmed socks'
)
end
if suspected and suspected.exists then
sub = ' ' .. makeWikilink(
'',
14,
suspected.prefixedText,
'suspected socks'
)
end
mSu = maybeLoadModule("Module:Su")
if mSu then