Module:UserLinks/sandbox: Difference between revisions

Content deleted Content added
enable sup option
on second thoughts, add the "u" code back in - it might be useful for the p.single function
Line 45:
 
-- Built-in link functions
function linkFunctions.u(snippets)
-- User page
return makeWikilink(snippets.interwiki .. 'User:' .. snippets.username, snippets.username)
end
 
function linkFunctions.t(snippets)
-- User talk page
Line 372 ⟶ 377:
 
-- Make the user link.
local userLink = makeWikilinklinkFunctions.u(snippets.interwiki .. 'User:' .. snippets.username, snippets.username)
 
-- Make the toolbar.
Line 433 ⟶ 438:
 
-- Assemble the codes and links in order
local firstCodes = {'u', 't', 'c'}
local firstLinks, firstCodesKeys = {}, {}
for i, code in ipairs(firstCodes) do