10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 31: | Line 31: | ||
if data.head then | if data.head then | ||
head = data.head | head = data.head | ||
head = mw.ustring.gsub(head, "%*([^%* | head = mw.ustring.gsub(head, "%*([^%*:]+):([^%*:]+)%*", "[[%1#" .. data.language.name .. "|%2]]") | ||
head = mw.ustring.gsub(head, "%*([^%*]+)%*", "[[%1#" .. data.language.name .. "|%1]]") | head = mw.ustring.gsub(head, "%*([^%*]+)%*", "[[%1#" .. data.language.name .. "|%1]]") | ||
elseif mw.ustring.find(head, " ") then | elseif mw.ustring.find(head, " ") then |