Merge branch 'i#71-moved-page-exists' into develop
This commit is contained in:
@@ -598,6 +598,11 @@ class RedFamWorker( RedFam ):
|
|||||||
if self.article_has_status( "redirect", title=article ):
|
if self.article_has_status( "redirect", title=article ):
|
||||||
try:
|
try:
|
||||||
page = page.moved_target()
|
page = page.moved_target()
|
||||||
|
|
||||||
|
# Short circuit if movement destination does not exists
|
||||||
|
if not page.exists():
|
||||||
|
continue
|
||||||
|
|
||||||
except pywikibot.exceptions.NoMoveTarget:
|
except pywikibot.exceptions.NoMoveTarget:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user