Module:Shortcut: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (remove the first parameter error category per Template talk:Shortcut#The cleanup category should be removed) |
Enwikipedia>MSGJ (prevent links linking back to the current page, see Template_talk:Shortcut#Direct_link) |
||
Line 37: | Line 37: | ||
local listItems = {} |
local listItems = {} |
||
for i, shortcut in ipairs(shortcuts) do |
for i, shortcut in ipairs(shortcuts) do |
||
listItems[i] = |
listItems[i] = frame:expandTemplate{ |
||
title = 'No redirect', |
|||
args = {shortcut} |
|||
} |
|||
end |
end |
||
table.insert(listItems, options.msg) |
table.insert(listItems, options.msg) |