Module:Requested move: Difference between revisions

Content deleted Content added
Avoid erroring for moving pages with shared talk page
Fix redirect case
Line 219:
end
local titletarg = getredirect(title)
-- Request to move a single page must be placed on that page's talk
if not multi and args.current1 ~= title.subjectPageTitle.prefixedText
and (not titletarg or args.current1 ~= getredirect(title)titletarg.subjectPageTitle.prefixedText) then
local msg = 'Request to move a single page must be placed on that page\'s talk'
return err(msg, argsByNum, args.reason, argsByNumCount)