Merge branch 'release-1.1.1'
This commit is contained in:
@@ -18,6 +18,9 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
||||
|
||||
Versions
|
||||
--------
|
||||
* v1.1.1
|
||||
- Check if moved page exists
|
||||
|
||||
* v1.1
|
||||
- Improved page filter
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user