4,951
edits
Falterfire (talk | contribs) (More lua testing) |
Falterfire (talk | contribs) (Added testApostrophe) |
||
Line 16: | Line 16: | ||
end | end | ||
return result | return result | ||
end | |||
function p.testApostrophe(frame) | |||
local pageName = frame.args ~= nil and frame.args[1] or frame | |||
for i = 1, #pageName do | |||
mw.log(string.sub(pageName, i, i)..' ['..pageName:byte(i)..']') | |||
end | |||
end | end | ||
return p | return p |