3,270
edits
m (1 revision imported) |
mNo edit summary |
||
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) |