I have been able to reproduce this in xowa-gui
The Lua code
function p.test(frame)
text = 'episodes|{}'
subst = '.07%'
return text:gsub("{}", subst)
end
calling this with
{{#invoke:test|test}}
will provoke the problem
I think it is to do with the trailing percent sign%
BTW the actual logic is in
en.wikipedia.org/wiki/Module:Television_episode_short_description
and the page that causes this (for me) is
en.wikipedia.org/wiki/.07%
I managed to get this error
when I was playing around with SHORTDESC
I have been able to reproduce this in xowa-gui The Lua code
calling this with
will provoke the problem
I think it is to do with the trailing percent sign
%
BTW the actual logic is in en.wikipedia.org/wiki/Module:Television_episode_short_description and the page that causes this (for me) is en.wikipedia.org/wiki/.07%