Module:User: Difference between revisions

From Test Wiki
No change in size ,  19 February
m
no edit summary
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:UserLinks]]. It is about twice as fast as the version of {{user}}
-- [[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:UserLinks')
local mUserLinks = require('Module:Userlinks')
local mShared = require('Module:UserLinks/shared')
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:UserLinks]].
-- 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)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.