Content deleted Content added
Wiktionary function now detects two- or three-letter lowercase language codes and script codes of one uppercase and three lowercase letters, if they are placed after a hyphen |
m better (?): script code simply has to be at the end of the first parameter (so language code or hyphen could be omitted) |
||
Line 230:
function p.wikt(frame)
local languageCode = match(frame.args[1], "^%l%l%l")or match(frame.args[1], "^%l%l")
local script = match(frame.args[1], "
local word1 = frame.args[2]
local word2 = frame.args[3]
|