ಮಾಡ್ಯೂಲ್:Toolbar: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
ಚು Protected Module:Toolbar: High-risk Lua module ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite)) |
simplifying - the original was probably good practice for me, but this version is better code in the circumstances |
||
೧ ನೇ ಸಾಲು:
local p = {}
local args = {}
-- Get the keys of the numerical arguments that are present.
Line ೩೮ ⟶ ೨೧:
-- Generate the toolbar items.
local
for i, v in ipairs(nums) do
if nums[i + 1] then
end
end
return
end
Line ೫೧ ⟶ ೩೪:
local class = args.class or ''
local style = (args.style and ('style="' .. args.style .. '"')) or ''
t:add(makeToolbarItems())▼
local ret = '<span class="plainlinks ' .. class .. '" ' .. style .. '>'
return
end
|