Editing Module:User
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
-- template's performance by reducing the number of parameters called from | -- template's performance by reducing the number of parameters called from | ||
-- wikitext, while still allowing all the features provided by | -- wikitext, while still allowing all the features provided by | ||
-- [[Module: | -- [[Module:UserLinks]]. It is about twice as fast as the version of {{user}} | ||
-- that called the {{user-multi}} template from wikitext. | -- that called the {{user-multi}} template from wikitext. | ||
--]=] | --]=] | ||
local mUserLinks = require('Module: | local mUserLinks = require('Module:UserLinks') | ||
local mShared = require('Module: | local mShared = require('Module:UserLinks/shared') | ||
local yesno = require('Module:Yesno') | local yesno = require('Module:Yesno') | ||
Line 73: | Line 73: | ||
local codes = {'t', 'c'} | local codes = {'t', 'c'} | ||
-- Plug the data into [[Module: | -- Plug the data into [[Module:UserLinks]]. | ||
local snippets = mUserLinks.getSnippets(args) | local snippets = mUserLinks.getSnippets(args) | ||
local links = mUserLinks.getLinks(snippets) | local links = mUserLinks.getLinks(snippets) |