Module:category tree/lang/wasc: Difference between revisions

No edit summary
Undo revision 520949 by Sware (talk)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


table.insert(handlers, function(data)
table.insert(handlers, function(data)
local suffix, pos = data.label:match("(%*[%w-]+) (.+)$")
local suffix, pos = data.label:match("^(%*%S+) (.+)$")
if not suffix then
return nil
end
 
local linksuffix = require("Module:links").full_link({ term = suffix, lang = data.lang }, "term")
local linksuffix = require("Module:links").full_link({ term = suffix, lang = data.lang }, "term")