Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f31b1a792 | |||
| 3fbfd4ccd7 | |||
| 50b0e142ec | |||
| 14db996a43 | |||
| 110589cb5b |
@@ -18,6 +18,9 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
|||||||
|
|
||||||
Versions
|
Versions
|
||||||
--------
|
--------
|
||||||
|
* v1.1.1
|
||||||
|
- Check if moved page exists
|
||||||
|
|
||||||
* v1.1
|
* v1.1
|
||||||
- Improved page filter
|
- Improved page filter
|
||||||
|
|
||||||
|
|||||||
@@ -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