Module:Requested move: Difference between revisions

Content deleted Content added
Adding HTML comment with transclusion in error messages to make it easier to fix errors rather than rewriting the whole request from scratch
Use string.format
Line 23:
commented = commented .. numargs[1]['new']
for i = 2,count do
commented = commented .. string.format('|current' .. tostring(%i) .. '=%s', ..i, (numargs[i]['current'] or ''))
commented = commented .. string.format('|new' .. tostring(%i) .. '=%s', ..i, (numargs[i]['new'] or ''))
end
if reason then