Module:Requested move: Difference between revisions

Content deleted Content added
make the validation check more efficient, and fix a bug where the num variable was undefined
m remove a couple of redundant comments
Line 160:
-- File namespace check
elseif subjectSpace == 6 then -- File
local msg = '[[Template:Requested move]] is not for files;'
.. ' see [[Wikipedia:Moving a page#Moving a file page]]'
Line 167:
-- User namespace check
elseif subjectSpace == 2 then -- User
local msg = '[[Template:Requested move]] is not for moves from user space;'
.. ' see [[Wikipedia:Articles for creation]]'