Follow moved pages
Keep notice together with content https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Jogo.obb&oldid=176464377#Redundanzhinweis_zu_zwischenzeitlich_verschobenen_Artikeln Issue #70 (#70)
This commit is contained in:
@@ -594,6 +594,13 @@ class RedFamWorker( RedFam ):
|
||||
except Break:
|
||||
break
|
||||
|
||||
# Follow moved pages
|
||||
if self.article_has_status( "redirect", title=article ):
|
||||
try:
|
||||
page = page.moved_target()
|
||||
except pywikibot.exceptions.NoMoveTarget:
|
||||
pass
|
||||
|
||||
# Toggle talkpage
|
||||
if talkpages:
|
||||
page = page.toggleTalkPage()
|
||||
|
||||
Reference in New Issue
Block a user