RedFamWorker: Exclude users and user talkpages

Users can't be part of valid redundances

Issue #68 (#68)
This commit is contained in:
2018-05-17 12:35:38 +02:00
parent ea85ca731f
commit 2c105336b0

View File

@@ -601,6 +601,11 @@ class RedFamWorker( RedFam ):
except pywikibot.exceptions.NoMoveTarget:
pass
# Exclude Users & User Talkpage
if page.namespace() == 2 or page.namespace() == 3:
self.article_add_status( "user", title=article )
continue
# Toggle talkpage
if talkpages and not page.isTalkPage() or\
not talkpages and page.isTalkPage():