Content deleted Content added
thats not exactly true ig |
trim the text in wikilinks |
||
Line 6:
local firstPipe = string.find(trimmed, "|")
if firstPipe then
return mw.text.trim(string.sub(trimmed, 1, firstPipe-1)), mw.text.trim(string.sub(trimmed, firstPipe+1))
else
return mw.text.trim(trimmed), nil
end
end
|