1 Commits
Author SHA1 Message Date
golderweb ae1ee7d6a5 Merge branch 'release-1.0' 2017-11-05 12:28:21 +01:00
2 changed files with 2 additions and 23 deletions
-3
View File
@@ -18,9 +18,6 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
Versions Versions
-------- --------
* v1.1
- Improved page filter
* v1.0 * v1.0
- first stable release - first stable release
- less debug output - less debug output
+2 -20
View File
@@ -3,7 +3,7 @@
# #
# redfam.py # redfam.py
# #
# Copyright 2018 Jonathan Golder <jonathan@golderweb.de> # Copyright 2017 Jonathan Golder <jonathan@golderweb.de>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -594,26 +594,8 @@ class RedFamWorker( RedFam ):
except Break: except Break:
break break
# Follow moved pages
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
# Exclude Users & User Talkpage
if page.namespace() == 2 or page.namespace() == 3:
self.article_add_status( "user", title=article )
continue
# Toggle talkpage # Toggle talkpage
if talkpages and not page.isTalkPage() or\ if talkpages:
not talkpages and page.isTalkPage():
page = page.toggleTalkPage() page = page.toggleTalkPage()
# Add reference to redfam to pages # Add reference to redfam to pages