3 Commits
Author SHA1 Message Date
golderweb 50b0e142ec Merge branch 'i#71-moved-page-exists' into develop 2018-08-12 11:43:18 +02:00
golderweb 14db996a43 redfam: Check if moved page exists
To prevent creation of orphaned diskpages in case of special movement
constructs

Issue #71 (#71)
2018-08-12 11:41:50 +02:00
golderweb 110589cb5b Merge branch 'release-1.1' back into develop 2018-08-12 11:15:30 +02:00
+5
View File
@@ -598,6 +598,11 @@ class RedFamWorker( RedFam ):
if self.article_has_status( "redirect", title=article ):
try:
page = page.moved_target()
# Short circuit if movement destination does not exists
if not page.exists():
continue
except pywikibot.exceptions.NoMoveTarget:
pass