Module:UserLinks: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
45 revisions imported from wikipedia:Module:UserLinks
MusikAnimal (talk | contribs) (update links to XTools, add link to autoedits tool; rm misleading comment; convert spaces to tabs) |
m (45 revisions imported from wikipedia:Module:UserLinks) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 78:
message('display-contributions')
)
end
function linkFunctions.c64(snippets)
-- Contributions
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,
-1,
'Contribs/' .. first64 .. ':/64',
'(/64)'
) or ''
end
|