Module:Userlinks: Difference between revisions

From Test Wiki
201 bytes added ,  19 April 2022
m
no edit summary
m (1 revision imported)
mNo edit summary
Line 82: Line 82:
function linkFunctions.c64(snippets)
function linkFunctions.c64(snippets)
-- Contributions
-- Contributions
return makeWikilink(
local first64 = snippets.username:match('^%x+:%x+:%x+:%x+:')
or snippets.username:match('^%x+:%x+:%x+:')
or snippets.username:match('^%x+:%x+:')
or snippets.username:match('^%x+:')
return first64 and makeWikilink(
snippets.interwiki,
snippets.interwiki,
-1,
-1,
'Contribs/' .. snippets.username .. '/64',
'Contribs/' .. first64 .. ':/64',
'(/64)'
'(/64)'
)
) or ''
end
end


Cookies help us deliver our services. By using our services, you agree to our use of cookies.