Module:Shortcut: Difference between revisions
attempt fix suggested in 2019 talk archive
(incorporate clear/pre/redirect of Template:Template shortcut; suppress module calls) |
(attempt fix suggested in 2019 talk archive) |
||
Line 57: | Line 57: | ||
listItems[i] = frame:expandTemplate{ | listItems[i] = frame:expandTemplate{ | ||
title = 'No redirect', | title = 'No redirect', | ||
args = templateMode and {templatePath, shortcut} or {shortcut} | args = templateMode and {templatePath, shortcut} or {shortcut, shortcut} | ||
} | } | ||
if templateMode then | if templateMode then |