Module:Shortcut: Difference between revisions

Content added Content deleted
Enwikipedia>Mr. Stradivarius
(rewrite this without so many dependencies and with it hopefully easier to read)
Enwikipedia>Mr. Stradivarius
(fix error message)
Line 25: Line 25:
error(string.format(
error(string.format(
'shortcut #%d was invalid (shortcuts must be strings of ' ..
'shortcut #%d was invalid (shortcuts must be strings of ' ..
'least one character in length)'
'at least one character in length)'
), 2)
), 2)
end
end